2 ! PR56786 Error on embedded spaces
7 open(99,status
='scratch')
8 write(99,'(a)') '&nml i(3 ) = 5 /'
12 if (i(1)/=-42 .or
. i(2)/=-42 .or
. i(3)/=5) call abort()
14 ! Shorten the file so the read hits EOF
16 open(99,status
='scratch')
17 write(99,'(a)') '&nml i(3 ) = 5 '
19 read(99,nml
=nml
, end=30)
23 open(99,status
='scratch')
24 write(99,'(a)') '&nml i(3 ) ='
26 read(99,nml
=nml
, end=40)
30 open(99,status
='scratch')
31 write(99,'(a)') '&nml i(3 )'
33 read(99,nml
=nml
, end=50)
37 open(99,status
='scratch')
38 write(99,'(a)') '&nml i(3 '
40 read(99,nml
=nml
, end=60)