Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/streamio_17.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! { dg-do run } program stream_test implicit none integer :: ios character(128) :: message open(10, status='scratch', access='stream') write (10, rec=1, iostat=ios, iomsg=message) "This is a test" ! if (ios.ne.5001) STOP 1 if (message.ne. & &"Record number not allowed for stream access data transfer") & STOP 2 end program