blob: d7b797af8e0fc9b1795efbeb170d930b09f91882 [file] [log] [blame]
// Build don't link:
// prms-id: 807
// See ARM page 275 Section 12.3.2
extern "C" void printf (char *, ...);
extern "C" void exit(int);
class B;
class A {
public:
A(B&); // ERROR - fn ref in err msg
};
class B {
public:
operator A(); // ERROR - fn ref in err msg
};
B b;
A a = b; // ERROR - should fail as it is ambigious.