testsuite: Adjust switch-exp-transform-3.c for 32bit
[official-gcc.git] / gcc / testsuite / g++.dg / compat / eh / filter2_main.C
blob43ecf8a946b18b47e2a236e9825b2a46a5c2a95a
1 // Test that terminate gets run when a catch filter fails to match while
2 // running destructors.  Original bug depended on a::~a being inlined.
4 // Split into pieces for binary compatibility testing October 2002
6 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
8 extern void filter2_x (void);
10 int
11 main ()
13   filter2_x ();