[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / OpenMP / omp-loop-simd01.f90
blob18878645c0c6f8ee6cd0530ec77b66b3bf41cb20
1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
3 ! OpenMP Version 4.5
4 ! 2.8.3 Loop simd Construct
5 ! Semantic error for correct test case.
7 program omp_loop_simd
8 integer i, j, k, l
9 k = 0;
10 l = 0
12 !$omp parallel do simd linear(l)
13 do i = 1, 10
14 do j = 1, 10
15 print *, "omp loop simd"
16 k = k + 1
17 l = l + 1
18 end do
19 end do
21 print *, k, l
23 end program omp_loop_simd