1 !RUN: %python %S/../test_errors.py %s %flang -fopenmp
3 ! 2.7.1 Ordered Clause positive cases.
5 !DEF: /omp_doordered MainProgram
7 !DEF: /omp_doordered/i ObjectEntity INTEGER(4)
8 !DEF: /omp_doordered/j ObjectEntity INTEGER(4)
11 !DEF: /omp_doordered/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
13 !DEF: /omp_doordered/Block1/j (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
20 !REF: /omp_doordered/i
22 !REF: /omp_doordered/j
25 !DEF: /omp_doordered/Block2/k (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
34 !DEF: /omp_doordered/Block3/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
37 !REF: /omp_doordered/j
45 !$omp do collapse(1) ordered(2)
46 !DEF: /omp_doordered/Block4/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
48 !DEF: /omp_doordered/Block4/j (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
55 !$omp parallel num_threads(4)
56 !$omp do ordered collapse(1)
57 !DEF: /omp_doordered/Block5/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
60 !DEF: /omp_doordered/Block5/j (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
67 end program omp_doordered