aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/array1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/array1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/array1.C26
1 files changed, 0 insertions, 26 deletions
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
index 0ecba7778aa..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/array1.C
+++ /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;
-}