1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
int foo() { int i = 0; for(;;) { i = i+1; } return i; } int main() { int r = 10; r += foo(); return r; }