OSDN Git Service

Pizza-lize :-)
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / gomp / pr37189.C
1 // PR c++/37189
2 // { dg-do compile }
3 // { dg-options "-fopenmp" }
4
5 struct S
6 {
7   S () {}
8   S (S const &) {}
9 };
10
11 struct T
12 {
13   S s;
14 };
15
16 void
17 bar (T &)
18 {
19 }
20
21 int
22 foo ()
23 {
24   T t;
25   #pragma omp task
26     bar (t);
27 }