leo/tests/parser/functions/infinite_recursion.leo
2022-10-05 16:54:50 -07:00

16 lines
197 B
Plaintext

/*
namespace: Parse
expectation: Fail
*/
program test.aleo {
function inf() -> u8 {
inf();
}
function main(y: bool) -> bool {
inf();
return y;
}
}