summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/filter2_main.C
blob: 866199c6b30fa8d695e8f7e770554563e2829951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Test that terminate gets run when a catch filter fails to match while
// running destructors.  Original bug depended on a::~a being inlined.

// Split into pieces for binary compatibility testing October 2002

extern void filter2_x (void);

int
main ()
{
  filter2_x ();
}