]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/array1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / array1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/array1.C b/gcc/testsuite/g++.old-deja/g++.other/array1.C
deleted file mode 100644 (file)
index 0ecba77..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-int i;
-
-struct S {
-  S (int) {
-    ++i;
-    if (i == 3)
-      throw 3;
-  };
-
-  S () {}
-
-  ~S() {
-    --i;
-  }
-};
-
-int main()
-{
-  try {
-    S s[5] = { 0, 1, 2, 3, 4 };
-  } catch (...) {
-  }
-
-  if (i != 1)
-    return 1;
-}