blob: 23e38e6a15411813e17a9dae019117bf9c226505 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed ambiguity
struct A {
A (int);
};
struct B {
B (int);
};
void myfunc (const A& t0); // { dg-message "note" }
void myfunc (const B& t0); // { dg-message "note" }
int main ()
{
myfunc(1); // { dg-error "ambiguous" }
}