Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/derived-types-2.f90

raw
1 ! { dg-additional-options -Wuninitialized }
2
3 module bar
4 type :: type1
5 real(8), pointer, public :: p(:) => null()
6 end type
7 type :: type2
8 class(type1), pointer :: p => null()
9 end type
10 end module
11
12 subroutine foo (var)
13 use bar
14 type(type2), intent(inout) :: var
15 !$acc enter data create(var%p%p)
16 end subroutine