1 2 3 4 5 6 7
// Bug: g++ fails to catch the ambiguity below. // Build don't link: struct A { operator int () { return 1; }; operator int &() { return 1; }; // ERROR - };