]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/eh29.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / eh29.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh29.C b/gcc/testsuite/g++.old-deja/g++.mike/eh29.C
deleted file mode 100644 (file)
index fa68455..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Special g++ Options: -fexceptions
-// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe
-
-int count;
-
-class A {
-public:
-  A() {
-//    printf("ctor %x\n", (int)this);
-    if (count==3)
-      throw 1;
-    ++count;
-    }
-  ~A() {
-    --count;
-//    printf("dtor %x\n", (int)this);
-  }
-};
-
-main() {
-  try {
-    A a[5];
-  } catch (...) {
-    return count;
-  }
-  return 1;
-}