1 // Test that explicitly scoped references to static members work even if
2 // they belong to an inaccessible base.
7 int i2; // { dg-error "inaccessible" "" }
12 struct B: private A { };
18 ::A::i2 = 1; // { dg-error "(access)|(context)" "" }
20 ::A::f2 (); // { dg-error "" }