1 !RUN: %S/test_errors.sh %s %t %flang -fopenmp
4 ! 2.7.1 Ordered Clause positive cases.
6 !DEF: /omp_doordered MainProgram
8 !DEF: /omp_doordered/i ObjectEntity INTEGER(4)
9 !DEF: /omp_doordered/j ObjectEntity INTEGER(4)
12 !DEF: /omp_doordered/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
14 !DEF: /omp_doordered/Block1/j (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
21 !REF: /omp_doordered/i
23 !REF: /omp_doordered/j
26 !DEF: /omp_doordered/Block2/k (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
35 !DEF: /omp_doordered/Block3/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
38 !REF: /omp_doordered/j
46 !$omp do collapse(1) ordered(2)
47 !DEF: /omp_doordered/Block4/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
49 !DEF: /omp_doordered/Block4/j (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
56 !$omp parallel num_threads(4)
57 !$omp do ordered(1) collapse(1)
58 !DEF: /omp_doordered/Block5/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
61 !DEF: /omp_doordered/Block5/j (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
68 end program omp_doordered