]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.eh/unwind1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / unwind1.C
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 (file)
index 75bb614..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Test that unwinding properly restores SP.
-// Contributed by Jason Merrill <jason@cygnus.com>
-
-void 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);
-}