Rebase.
[official-gcc.git] / gcc / testsuite / g++.dg / torture / stackalign / unwind-0.C
blobb1e79d8920331523233331bb085e16e792e75bb3
1 /* { dg-do run { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
3 #include "test-unwind.h"
5 #if !defined __PIC__ && !defined __USING_SJLJ_EXCEPTIONS__
6 void __attribute__ ((noinline)) foo()
8         ALTER_REGS();
9         // Throw the except and expect returning to main
10         throw 1;
12 #endif