blob: c9aff266fdb41ae456cb004df75a523c3d9b6037 [file] [log] [blame]
// { dg-do assemble }
// Here is another program from the net.
class B;
class A { // { dg-error "" } copy ctor candidate
private:
A(B *); // { dg-error "" }
public:
A(long); // { dg-error "" }
};
A a(0); // { dg-error "" } should be ambigious