* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gfortran.dg / ichar_3.f90
blobd0f5c8b8cf815f4fbb756eb94c898f1f9c19afb5
1 ! { dg-do compile }
3 ! PR fortran/59599
4 ! The call to ichar was triggering an ICE.
6 ! Original testcase from Fran Martinez Fadrique <fmartinez@gmv.com>
8 character(1) cpk(2)
9 integer res(2)
10 cpk = 'a'
11 res = ichar( cpk, kind=1 )
12 print *, ichar( cpk, kind=1 )
13 end