aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg3.C
blob: fc254511cfe7853969aced972e21f55976718b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Bug: g++ remembers the members of OUTER and complains about the second
// definition.
// Build don't link:

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

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