Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload8.C
blob: 9b605f8bce767842d6b30e8b7f7d1c41dae0f558 [
file
] [
log
] [
blame
]
// Bug: g++ fails to catch the ambiguity below.
// Build don't link:
struct
A
{
operator
int
()
{
return
1
;
};
operator
int
&()
{
return
1
;
};
// ERROR -
};