]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/overload20.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / overload20.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload20.C b/gcc/testsuite/g++.old-deja/g++.jason/overload20.C
deleted file mode 100644 (file)
index 998f6a7..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Bug: this code causes an internal compiler error 4.
-
-void f (char *);
-void f (int);
-struct A {
-  void f ();                   // ERROR - candidate
-  void f (int);                        // ERROR - candidate
-  void g () {
-    void (*p)(char *) = f;     // ERROR - no matching function in scope
-  }
-};