Debian Codegraph @

gcc/testsuite/g++.dg/compat/eh/spec3_main.C

raw
1 // PR c++/4381
2 // Test that exception-specs work properly for classes with virtual bases.
3
4 // Split into pieces for binary compatibility testing October 2002
5
6 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
7
8 extern void spec3_x (void);
9
10 int
11 main ()
12 {
13 spec3_x ();
14 }