aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/tree-prof/partition2.C
blob: 0bc50fae98a3818ea1d91cc179f31bac67db9de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR middle-end/45458
// { dg-require-effective-target freorder }
// { dg-options "-O2 -fnon-call-exceptions -freorder-blocks-and-partition" }

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