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