aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/unwind1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.eh/unwind1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.eh/unwind1.C24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/unwind1.C b/gcc/testsuite/g++.old-deja/g++.eh/unwind1.C
deleted file mode 100644
index 617b355a6c6..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.eh/unwind1.C
+++ /dev/null
@@ -1,24 +0,0 @@
-// Test that unwinding properly restores SP.
-// Contributed by Jason Merrill <jason@cygnus.com>
-
-int f (int i)
-{
- throw i;
-}
-
-int main ()
-{
- void *sp1 = __builtin_alloca (0);
-
- try
- {
- f (0);
- }
- catch (int)
- {
- }
-
- void *sp2 = __builtin_alloca (0);
-
- return (sp1 != sp2);
-}