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