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++.jason/] [overload8.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: g++ fails to catch the ambiguity below.
struct A {
operator int () { return 1; };
operator int &() { return 1; }; // { dg-error "" }
};
Go to most recent revision | Compare with Previous | Blame | View Log