(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.brendan/
ambiguity1.C
// { 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" }
}