X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.eh%2Funwind1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.eh%2Funwind1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=75bb614e5413384b4450efc5caf56aa6d50d84b8;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 75bb614e..00000000 --- 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 - -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); -}