URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [net2.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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
Go to most recent revision | Compare with Previous | Blame | View Log