flang/test/Lower/OpenMP/Todo/loop-directive.f90
raw| 1 | ! This test checks lowering of OpenMP loop Directive. |
| 2 | |
| 3 | ! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s |
| 4 | ! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s |
| 5 | |
| 6 | ! CHECK: not yet implemented: Unhandled directive loop |
| 7 | subroutine test_loop() |
| 8 | integer :: i, j = 1 |
| 9 | !$omp loop |
| 10 | do i=1,10 |
| 11 | j = j + 1 |
| 12 | end do |
| 13 | !$omp end loop |
| 14 | end subroutine |
| 15 |