summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr26913.C
blob: 4f5bb2834c459cb119699b593140943a6a9cadc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR middle-end/26913

struct A
{
  ~A () throw ();
};

void foo (A);

A bar () throw ();

void baz ()
{
#pragma omp parallel
  {
    A a;
    foo (bar ());
  }
}