mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-28 12:45:26 +03:00
18 lines
252 B
Plaintext
18 lines
252 B
Plaintext
/*
|
|
namespace: Parse
|
|
expectation: Pass
|
|
*/
|
|
|
|
program test.aleo {
|
|
function x(constant y: u32) -> u8 {
|
|
if y < 5u32 {
|
|
x(y+1u32);
|
|
}
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
x(1u32);
|
|
return y;
|
|
}
|
|
}
|