2 ! PR41192 NAMELIST input with just a comment ("&NAME ! comment \") error
4 ! comment by itself causes error in gfortran
6 call process('i=10 , j=20 k=30 ! change all three values')
8 call process('! change no values')! before patch this failed.
11 subroutine process(string
)
13 character(len
=*) :: string
14 character(len
=132) :: lines(3)
15 character(len
=255) :: message
16 integer :: i
=1,j
=2,k
=3
24 read(lines
,nml
=cmd
,iostat
=ios
,iomsg
=message
)
25 if (ios
.ne
.0) call abort
26 end subroutine process