summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr26611-1.C
blob: 8ec543bd61494ba5a5e13504d4a2d54a054dc2c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR middle-end/26611
// { dg-do compile }

void
foo ()
{
#pragma omp parallel
  try
    {
      int q = 1;
    }
  catch (...)
    {
    }
}