blob: cc6f25c6ed96e7f0d44f672168d37af786cb17fe [file] [log] [blame]
// Bug: g++ only looks in the current temporary binding level for a name.
struct T { ~T(); };
int main()
{
foo:
T t; // ERROR - redeclared
bar:
T t; // ERROR - redeclaration
}