1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-do assemble } // GROUPS passed old-abort // This used to die in chainon; it shouldn't any more. class A { public: class B { public: void f (); void g (int); }; void B::f () {}// { dg-error "" } .* void B::g (int val) {}// { dg-error "" } .* };