blob: 1f297b76d6c1872e57bca636233ec1200c569793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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-error "" } redeclared
bar:
T t; // { dg-error "" } redeclaration
}
|