mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-28 12:45:26 +03:00
23 lines
320 B
Plaintext
23 lines
320 B
Plaintext
/*
|
|
namespace: Parse
|
|
expectation: Fail
|
|
*/
|
|
|
|
program test.aleo {
|
|
@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;
|
|
}
|
|
}
|