Files
clang-p2996/flang/test/Semantics/OpenMP/taskloop-simd01.f90
Kiran Chandramohan 3323a4bd3d [Flang][OpenMP] NFC: Remove omp prefix of test files in OpenMP Semantics
For tests in the OpenMP sub-directory the `omp` prefix is removed.
2023-02-25 11:21:38 +00:00

18 lines
316 B
Fortran

! RUN: %python %S/../test_errors.py %s %flang -fopenmp
! OpenMP Version 5.0
! 2.10.3 taskloop simd Construct
program omp_taskloop_simd
integer i , j , k
!$omp taskloop simd reduction(+:k)
do i=1,10000
do j=1,i
k = k + 1
end do
end do
!$omp end taskloop simd
end program omp_taskloop_simd