leo/tests/parser/functions/annotated_context.leo
2022-08-04 17:55:26 -07:00

15 lines
159 B
Plaintext

/*
namespace: Parse
expectation: Pass
*/
@context
function f() -> u8 {
return 1u8;
}
@context // recovery witness
function g() -> u8 {
return 2u8;
}