1 ! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
9 !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.
12 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
22 !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.
26 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
35 !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.
38 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
49 !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.
52 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
63 !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.
67 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
80 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
92 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
105 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
117 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
129 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
131 !ERROR: A worksharing region may not be closely nested inside a worksharing, explicit task, taskloop, critical, ordered, atomic, or master region
145 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
152 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
164 !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.
165 !$omp parallel do ordered(3) collapse(2)
168 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
171 !$omp parallel do collapse(2)
175 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
179 !$omp end parallel do
183 !$omp end parallel do