blob: de42d8aedd8a1b7405b1ba8324cbc9e48c6e64d9 [file] [log] [blame]
! { dg-do compile }
!
! Test the fix for PR56386
!
! Contributed by Vladimir Fuka <vladimir.fuka@gmail.com>
!
subroutine CustomSolidBodies
implicit none
type inner
real :: elev
end type
type :: outer
type(inner),dimension(0) :: PrPoints
end type
type(outer) :: SB
associate (Prter=>SB%PrPoints)
PrTer%elev=0 ! ICE here
end associate
end subroutine CustomSolidBodies