hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / deferred_character_32.f90
blob3969d97ffc9af1da4cebe865d8e200a440a83a24
1 ! { dg-do run }
3 ! Test the fix for PR88117.
5 ! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
7 program p
8 character(:), pointer :: z(:)
9 allocate (z, source = ['abcd', 'bcde'])
10 z = (z) ! gimplifier choked here.
11 if (any (z .ne. ['abcd', 'bcde'])) stop 1
12 deallocate (z)
13 end