URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [unit_1.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! PR40638 Run Time Error: Unit number in I/O statement too largeprogram maininteger(kind=2) :: lun, anuminteger(kind=1) :: looney, binlun = 12anum = 5looney = 42bin = 23open (lun, status='scratch')write(lun,*) anumanum = 0rewind(lun)read (lun, *) anumif (anum.ne.5) call abortopen (looney, status='scratch')write(looney,*)binbin = 0rewind (looney)read (looney,*)binif (bin.ne.23) call abortclose (lun)close (looney)end
