summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr34608.C
blob: 759ab3fca9409268919abec5b6d233c3492cbf0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR middle-end/34608
// { dg-do compile }
// { dg-options "-ftest-coverage -fopenmp" }

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

void foo (A);

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

// { dg-final { cleanup-coverage-files } }