Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/write_check3.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do run } |
2 ! PR29936 Missed constraint on RECL=specifier in unformatted sequential WRITE | |
3 ! Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org> | |
4 program us_recl | |
5 real, dimension(5) :: array = 5.4321 | |
6 integer :: istatus | |
7 open(unit=10, form="unformatted", access="sequential", RECL=16) | |
8 write(10, iostat=istatus) array | |
131 | 9 if (istatus == 0) STOP 1 |
111 | 10 close(10, status="delete") |
11 end program us_recl |