This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / g++.dg / other / access3.C
blob2c21c1e5fa9edde88d54a8216f724c2464860928
1 // { dg-do compile }
2 // { dg-options "-fno-access-control" }
4 // PR c++/20022
6 // Make sure -fno-access-control doesn't crash, and actually grants at
7 // least some access.
9 class B {
10   enum A {};
13 B::A r;