Sign in
llvm
/
llvm-archive
/
cfaec05de39adb34392b8c7b1ad4b32abbf3663d
/
.
/
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 "" }
};