blob: f09609dc744e266a9282d4d7a561fab5a66903fd [file] [log] [blame]
// { 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 "8:cannot define" } .*
void B::g (int val) {}// { dg-error "8:cannot define" } .*
};