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;