Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
access3.C
blob: 2c21c1e5fa9edde88d54a8216f724c2464860928 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-fno-access-control" }
// PR c++/20022
// Make sure -fno-access-control doesn't crash, and actually grants at
// least some access.
class
B
{
enum
A
{};
};
B
::
A r
;