/* * @@name: ordered.3c * @@type: C * @@compilable: yes * @@linkable: no * @@expect: success */ void work(int i) {} void ordered_good(int n) { int i; #pragma omp for ordered for (i=0; i 10) { #pragma omp ordered work(i+1); } } }