Debian Codegraph @

gcc/testsuite/gfortran.dg/pr102459.f90

raw
1 ! { dg-do compile }
2 ! { dg-additional-options "-fopenmp" }
3
4 program p
5 type t
6 integer :: a(2)
7 end type
8 type(t) :: x(8)
9
10 !$omp task depend (iterator(j=1:8), out:x(j)%a)
11 !$omp end task
12
13 !$omp task depend (iterator(j=1:8), out:x(j)%a(1))
14 !$omp end task
15 end