flang/test/Semantics/OpenMP/omp-do-collapse1.f90
raw| 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 |
| 4 | program 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 |
| 13 | end program omp_doCollapse |
| 14 |