1 // Bug: g++ only looks in the current temporary binding level for a name. 2 3 struct T { ~T(); }; 4 main()5 int main() 6 { 7 foo: 8 T t; // ERROR - redeclared 9 bar: 10 T t; // ERROR - redeclaration 11 } 12