summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg3.C
blob: 93f74685cc69efffc5544c9acef1f3c68cbde944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// Bug: g++ remembers the members of OUTER and complains about the second
// definition.

void
test ()
{
    {
	struct OUTER { struct INNER { int mbr; } member; };
    }

    {
	struct OUTER { struct INNER { int mbr; } member; };
    }
}