int foo(int x) { if (x > 10) { return x; } else { while (x > 0) { x--; } return 0; } }