void foo() {
// expected-error@+3 {{use of undeclared identifier 'c'}}
// expected-error@+2 2 {{use of undeclared identifier 'b'}}
// expected-error@+1 2 {{use of undeclared identifier 'a'}}
a = 2; a = 2; b = 2; b = 2; c = 2;
// expected-error@+1 {{use of undeclared identifier 'd'}}
d = 2;
// expected-error@+1 {{use of undeclared identifier 'f'}}
e = 2; f = 2; // expected-error {{use of undeclared identifier 'e'}}
}