PR c++/27177
[official-gcc.git] / gcc / testsuite / gfortran.dg / write_check3.f90
blob802a06d27a98b3b02b637865bd358970f0da5894
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
9 if (istatus == 0) call abort()
10 close(10, status="delete")
11 end program us_recl