]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/eh38.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / eh38.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh38.C b/gcc/testsuite/g++.old-deja/g++.mike/eh38.C
deleted file mode 100644 (file)
index 47d1d21..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Special g++ Options: -fexceptions
-// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe
-
-#include <typeinfo>
-
-class B {
-public:
-  int data;
-  B(int i) : data(i) {
-  }
-} b(42);
-
-main() {
-  try {
-    throw &b;
-  } catch (const B* bptr) {
-    if (bptr->data == 42)
-      {
-       try {
-         throw &b;
-       } catch (void *bptr) {
-         if (((B*)bptr)->data == 42)
-           return 0;
-       }
-      }
-  }
-  return 1;
-}