]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p7912.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p7912.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p7912.C b/gcc/testsuite/g++.old-deja/g++.mike/p7912.C
deleted file mode 100644 (file)
index 018b09b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Special g++ Options: -fexceptions
-// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe
-// prms-id: 7912
-
-int count = 0;
-
-class Foo {
-public:
-  Foo() { ++count; };
-  Foo(const Foo&) { ++count; };
-  ~Foo() { --count; };
-};
-
-
-main()
-{
-  try {
-    throw Foo();
-  }
-  catch (Foo object) {
-  }
-  return count;
-}