summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-prof/partition2.C
blob: 6715da57ecf5974d05d8182644dfda73cc90779b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR middle-end/45458
// { dg-require-effective-target freorder }
// { dg-options "-fnon-call-exceptions -freorder-blocks-and-partition" }
// { dg-skip-if "PR target/47683" { mips-sgi-irix* } }

int
main ()
{
  try
  {
    throw 6;
  }
  catch (...)
  {
  }
}