Files
clang-p2996/flang/test/Semantics/OpenMP/omp-taskloop-simd01.f90
PeixinQiao b826d551fc [NFC] Move flang OpenMP semantic tests under one single directory
To be consistent with OpenACC and will find the tests in one single
directory for OpenMP.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D127529
2022-06-11 10:46:42 +08: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