Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
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 -
};