2 // { dg-options "-fopenmp" }
4 struct A { int i; A (); ~A (); };
6 struct C { int i; mutable int j; C (); ~C (); };
8 template <typename T> void bar (const T *);
13 const A foo (const A d, const C e)
18 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
19 bar (&a); // { dg-error "not specified" }
20 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
21 bar (&b); // { dg-error "not specified" }
22 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
23 bar (&c); // { dg-error "not specified" }
24 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
25 bar (&d); // { dg-error "not specified" }
26 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
27 bar (&e); // { dg-error "not specified" }
28 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
29 bar (&f); // { dg-error "not specified" }
30 #pragma omp parallel default (none) // { dg-message "note: enclosing 'parallel'" }
31 bar (&g); // { dg-error "not specified" }