blob: 58886d630e413c472da44969884227aba6cc3ccd [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed visibility
class X
{
public:
void fn ();// { dg-message "" } .*
};
class Y : private X
{};
class Unrelated
{
public:
void foo () { Y y; y.fn (); }// { dg-error "" } .*
};