leo/tests/parser/functions/infinite_recursion.leo

13 lines
132 B
Plaintext

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