blob: 7333470f6eb16816914d4c1829a9e71a0ca4db9d [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed visibility
class a {
private:
a (int i);// { dg-message "" } .*
public:
a ();
};
void test ()
{
a *ap = new a;
a *ap2 = new a (3);// { dg-error "" } .*
}