summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr26611-2.C
blob: f951798915f4792ada21fa824108640990f65b46 (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
    {
    }
  catch (...)
    {
      int q = 1;
    }
}