mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 08:01:42 +03:00
16 lines
186 B
Plaintext
16 lines
186 B
Plaintext
/*
|
|
namespace: Parse
|
|
expectation: Fail
|
|
*/
|
|
|
|
function x(constant y: u32) -> u8 {
|
|
if y < 5u32 {
|
|
x(y+1u32);
|
|
}
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
x(1u32);
|
|
return y;
|
|
}
|