]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/t42.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / t42.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/t42.C b/gcc/testsuite/g++.old-deja/g++.pt/t42.C
deleted file mode 100644 (file)
index 5545994..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-extern "C" void abort ();
-
-struct A {
-  struct stat {
-    int x;
-    stat (int j) { abort (); }
-  };
-  static int stat (double d) { return 0; }     // gets bogus error - cfront takes it
-  static int zap () {
-    stat (0);
-    return stat (1);   // gets bogus error - this should work
-  }
-};
-
-int main () {
-  return A::zap ();
-}