hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_44.f90
blobde42d8aedd8a1b7405b1ba8324cbc9e48c6e64d9
1 ! { dg-do compile }
3 ! Test the fix for PR56386
5 ! Contributed by Vladimir Fuka <vladimir.fuka@gmail.com>
7 subroutine CustomSolidBodies
8 implicit none
10 type inner
11 real :: elev
12 end type
14 type :: outer
15 type(inner),dimension(0) :: PrPoints
16 end type
18 type(outer) :: SB
20 associate (Prter=>SB%PrPoints)
21 PrTer%elev=0 ! ICE here
22 end associate
23 end subroutine CustomSolidBodies