summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/spec3_main.C
blob: 3f0e919b2eab863e6fcc3f6dc73c03a45c60c50d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/4381
// Test that exception-specs work properly for classes with virtual bases.

// Split into pieces for binary compatibility testing October 2002

extern void spec3_x (void);

int
main ()
{
  spec3_x ();
}