Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload8.C
blob: 3708b21ec6a2bffb0cb3dc6595534a379766f532 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ fails to catch the ambiguity below.
struct
A
{
operator
int
()
{
return
1
;
};
operator
int
&()
{
return
1
;
};
// { dg-error "" }
};