Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / g++.dg / parse / struct-3.C
blob8e73ce4f0195c369c4e33d9ee17f33c88482fac5
1 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2 // PR c++/18731
4 struct A
6     struct B;
7     typedef B C;
8 };
10 struct A::C {}; // { dg-error "invalid class name" }