mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 19:51:52 +03:00
21 lines
234 B
Plaintext
21 lines
234 B
Plaintext
/*
|
|
namespace: Parse
|
|
expectation: Fail
|
|
*/
|
|
|
|
@foo(?, bar, ?)
|
|
function x() -> u8 {
|
|
return 1u8;
|
|
}
|
|
|
|
@bar(123) // ints not vali
|
|
function x() -> u8 {
|
|
return 2u8;
|
|
}
|
|
|
|
|
|
@context // recovery witness
|
|
function x() -> u8 {
|
|
return 3u8;
|
|
}
|