leo/tests/parser/functions/infinite_recursion.leo

13 lines
138 B
Plaintext

/*
namespace: Parse
expectation: Pass
*/
function inf() -> u8 {
inf();
}
function main(y: bool) -> bool {
inf();
return y;
}