summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/eh/pr42859.C
blob: a9f1473bc8533c5195b02dd7c6a6026e225336f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// { dg-do compile }

void start (void);
void
ptw32_terminate (void)
{
  try
  {
    try
    {
      start ();
    }
    catch (int)
    {
    }
    catch (int)
    {
    }
  }
  catch (int)
  {
  }
}