blob: 4ebdc696217999b451855882d8e7f80d6e1d2aba [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed visibility
class A {
public:
void aMethod(void) {};// { dg-message "" } .*
};
class AA : A { };
class B {
public:
void thisMethod() {
AA ana;
ana.aMethod();// { dg-error "" } .*
}
};