Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/dos_eol.f @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! PR libfortran/19678 and PR libfortran/19679 ! { dg-do run } integer i, j open (10,status='scratch') write (10,'(2A)') '1', achar(13) rewind (10) read (10,*) i if (i .ne. 1) STOP 1 close (10) open (10,status='scratch') write (10,'(2A)') ' 1', achar(13) write (10,'(2A)') ' 2', achar(13) rewind (10) read (10,'(I4)') i read (10,'(I5)') j if ((i .ne. 1) .or. (j .ne. 2)) STOP 2 end