2 // Test that access control for types and statics works properly
7 static int I1; // { dg-error "" } private
8 struct B1 { }; // { dg-error "" } private
22 int i = I1; // { dg-error "" } within this context
23 B1 b1; // { dg-error "" } within this context
30 A::B1 b1; // { dg-error "" } within this context
31 new A::B1; // { dg-error "" } within this context
32 (A::B1) b1; // { dg-error "" } within this context