Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/goacc/derived-types-2.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
module bar type :: type1 real(8), pointer, public :: p(:) => null() end type type :: type2 class(type1), pointer :: p => null() end type end module subroutine foo (var) use bar type(type2), intent(inout) :: var !$acc enter data create(var%p%p) end subroutine