Debian Codegraph @

gcc/testsuite/g++.dg/tree-prof/partition2.C

raw
1 // PR middle-end/45458
2 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
3 // { dg-require-effective-target freorder }
4 // { dg-options "-O2 -fnon-call-exceptions -freorder-blocks-and-partition" }
5
6 int
7 main ()
8 {
9 try
10 {
11 throw 6;
12 }
13 catch (...)
14 {
15 }
16 }