blob: cf99699d255aa94ab9fb45801742687e801a3fec [file] [log] [blame]
### Compilation failed:
error: 5: potential recursion (function call cycle) not allowed:
bool is_odd(int n)
bool is_even(int n)
bool is_odd(int n)
bool is_odd (int n) { return n == 0 ? false : is_even(n - 1); }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1 error