xref: /llvm-project/flang/test/Semantics/OpenMP/omp-do-collapse1.f90 (revision 502bea25bdc07d1811b8bfea1c2e6bfa8617f72f)
1! RUN: not %flang_fc1 -fdebug-unparse-with-symbols -fopenmp %s 2>&1 | FileCheck %s
2! OpenMP Version 4.5
3! 2.7.1 Loop Construct
4program omp_doCollapse
5  integer:: i
6  !$omp parallel do collapse(2)
7    do i = 1, 3
8      !CHECK: Loop control is not present in the DO LOOP
9      !CHECK: associated with the enclosing LOOP construct
10      do
11      end do
12    end do
13end program omp_doCollapse
14
15