Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/async_io_3.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
!TODO: Move these testcases to gfortran testsuite ! once compilation with pthreads is supported there ! { dg-do run } program main integer :: i open (10,file="tst.dat") write (10,'(A4)') 'asdf' close(10) i = 234 open(10,file="tst.dat", asynchronous="yes") read (10,'(I4)',asynchronous="yes") i wait(10) end program main ! { dg-output "Fortran runtime error: Bad value during integer read" } ! { dg-final { remote_file build delete "tst.dat" } }