diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/ambiguity1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/ambiguity1.C | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/ambiguity1.C b/gcc/testsuite/g++.old-deja/g++.brendan/ambiguity1.C deleted file mode 100644 index c6d6fcbd4ad..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/ambiguity1.C +++ /dev/null @@ -1,17 +0,0 @@ -// Build don't link: -// GROUPS passed ambiguity -struct A { - A (int); -}; - -struct B { - B (int); -}; - -void myfunc (const A& t0); // ERROR - -void myfunc (const B& t0); // ERROR - - -int main () -{ - myfunc(1); // ERROR - ambiguous call -} |