llvm-project/flang/test/Lower/OpenMP/Todo/loop-directive.f90
Anchu Rajendran S 826bde5d8a
Adding parsing support for omp loop, target loop directives (#93517)
Change adds parsing support for omp loop, omp target loop, omp target
parallel loop and omp target teams loop.
2024-06-21 09:40:34 +05:30

16 lines
387 B
Fortran

! This test checks lowering of OpenMP loop Directive.
! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s
! CHECK: not yet implemented: Unhandled directive loop
subroutine test_loop()
integer :: i, j = 1
!$omp loop
do i=1,10
j = j + 1
end do
!$omp end loop
end subroutine