Sign in
llvm
/
llvm-archive
/
1456578521548c1ea3e191fcd25bb39efd8203cd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
ambiguity1.C
blob: b0c37e1965dceabe99c04ed4e5774f6476df455f [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed ambiguity
struct
A
{
A
(
int
);
};
struct
B
{
B
(
int
);
};
void
myfunc
(
const
A
&
t0
);
// { dg-error "" }
void
myfunc
(
const
B
&
t0
);
// { dg-error "" }
int
main
()
{
myfunc
(
1
);
// { dg-error "" } ambiguous call
}