blob: 3321cece23a47e12743823eb3a4e8de76c065595 [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ only looks in the current temporary binding level for a name.
struct T { ~T(); };
int main()
{
foo:
T t; // { dg-message "" } redeclared
bar:
T t; // { dg-error "" } redeclaration
}