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