]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.eh/ptrmem1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / ptrmem1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/ptrmem1.C b/gcc/testsuite/g++.old-deja/g++.eh/ptrmem1.C
deleted file mode 100644 (file)
index ba70612..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-extern "C" void exit (int);
-extern "C" void abort (void);
-struct A { int i; };
-int main ()
-{
-  try { throw &A::i; }
-  catch (int A::*p)
-    {
-      if (p == &A::i)
-       exit (0);
-      else
-       abort ();
-    }
-  abort ();
-}