Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.4.6
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload8.C
blob: 2987ae51ada323e9c78aed96fd1123e4e5aaab4f [
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 "" }
};