/* * @@name: private.2c * @@type: C * @@compilable: yes * @@linkable: no * @@expect: success */ int a; void g(int k) { a = k; /* Accessed in the region but outside of the construct; * therefore unspecified whether original or private list * item is modified. */ } void f(int n) { int a = 0; #pragma omp parallel for private(a) for (int i=1; i