1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
8 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
11 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
21 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
25 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
34 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
37 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
48 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
51 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
62 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
66 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
79 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
91 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
104 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
116 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
128 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
130 !ERROR: A worksharing region may not be closely nested inside a worksharing, explicit task, taskloop, critical, ordered, atomic, or master region
144 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
151 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
163 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
164 !$omp parallel do ordered(3) collapse(2)
167 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
170 !$omp parallel do collapse(2)
174 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
178 !$omp end parallel do
182 !$omp end parallel do