Debian Codegraph @

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

raw
1 // PR 3719
2 // Test that an unexpected handler can rethrow to categorize.
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 unexpected1_x ();
9
10 int
11 main ()
12 {
13 unexpected1_x ();
14 }