Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.old-deja / g++.brendan / ambiguity1.C
blobddf93c4bdae8bfa831ee7eb478fec99b3387ff9d
1 // { dg-do assemble  }
2 // GROUPS passed ambiguity
3 struct A {
4   A (int);
5 };
7 struct B {
8   B (int);
9 };
11 void myfunc (const A& t0); // { dg-message "candidates" } 
12 void myfunc (const B& t0); // { dg-message "note" } 
14 int main ()
16    myfunc(1);   // { dg-error "ambiguous" }