2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / gcc / testsuite / g++.dg / gomp / pr37189.C
blob31d95f2d2dfcee049b97464b71503bc90145dfdf
1 // PR c++/37189
2 // { dg-do compile }
3 // { dg-options "-fopenmp" }
5 struct S
7   S () {}
8   S (S const &) {}
9 };
11 struct T
13   S s;
16 void
17 bar (T &)
21 int
22 foo ()
24   T t;
25   #pragma omp task
26     bar (t);