Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/comma.f @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
! { dg-do run { target fd_truncate } } ! PR25419 Default input with commas. ! Derived from example given in PR. ! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org> stuff = 1 stuff2 = 2 write(11,'(a)') ",," rewind(11) read(11,*)stuff, stuff2 if (stuff.ne.1.0) call abort() if (stuff2.ne.2.0) call abort() rewind (11) write(11,'(a)') "," rewind(11) read(11,*)stuff if (stuff.ne.1.0) call abort() close(11, status='delete') end