1 2 3 4
// { dg-do assemble } // GROUPS passed static class A { public: int a; };// { dg-error "" } .* void foo7 () { A::a = 3; }// { dg-error "" } .*