]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/lineno2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / lineno2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lineno2.C b/gcc/testsuite/g++.old-deja/g++.other/lineno2.C
deleted file mode 100644 (file)
index 4d64d1a..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Submitted by Nathan Sidwell <nathan@acm.org>
-// Bug: g++ wasn't listing candidates for a failed conversion.
-
-void f(int, double);           // ERROR - candidate
-void f(double, int);           // ERROR - candidate
-void f(int);                   // ERROR - candidate
-
-int
-main ()
-{
-  void (*ptr)(int, int);
-  
-  ptr = &f;                    // ERROR - no match
-}