class Test { int foo(int i) { if (i == 0) return -1; return foo(i - 1); } }