c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / realloc_on_assign_30.f90
blob4e7eb4ba220caeeaa453b37cd24cfa14c14c4c81
1 ! { dg-do compile }
2 ! PR 85641 - this used to ICE due do infinite recursion.
3 ! Test case by Antony Lewis.
4 program tester
5 character(LEN=:), allocatable :: fields
6 integer j
7 character(LEN=4), parameter :: CMB_CL_Fields = 'TEBP'
9 fields = ''
10 j=1
11 fields = fields // CMB_CL_Fields(j:j)
13 end program tester