1 // PR c++/26691 2 3 struct A 4 { 5 int n; nA6 A (int i = 3) : n (i) {} 7 }; 8 9 int main()10 main () 11 { 12 A a; 13 int err = 0; 14 #pragma omp parallel private (a) reduction (+:err) 15 if (a.n != 3) 16 err++; 17 18 return err; 19 } 20 21