leo/tests/parser/functions/infinite_recursion.leo

14 lines
139 B
Plaintext
Raw Normal View History

2022-01-28 21:34:02 +03:00
/*
namespace: Parse
2022-05-17 15:41:30 +03:00
expectation: Fail
2022-01-28 21:34:02 +03:00
*/
function inf() -> u8 {
2022-01-28 21:34:02 +03:00
inf();
}
function main(y: bool) -> bool {
inf();
return y;
2022-05-17 15:41:30 +03:00
}