leo/tests/parser/functions/infinite_recursion.leo
2022-05-17 14:41:30 +02:00

14 lines
139 B
Plaintext

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