class Foo { int b = 9; int foo( int a ) { // Try swapping these two next lines; note the differing error message. a = b; int b=b+1; b = 5; //int c; for (int c = 0; c < 3; ++c ) { //int c; c = 9; } //return c; return -99; } }