URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [inquire_5.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! PR fortran/21647program inquire_5integer (kind = 8) :: unit8logical (kind = 8) :: exist8integer (kind = 4) :: unit4logical (kind = 4) :: exist4integer (kind = 2) :: unit2logical (kind = 2) :: exist2integer (kind = 1) :: unit1logical (kind = 1) :: exist1character (len = 6) :: delunit8 = 78open (file = 'inquire_5.txt', unit = unit8)unit8 = -1exist8 = .false.unit4 = -1exist4 = .false.unit2 = -1exist2 = .false.unit1 = -1exist1 = .false.inquire (file = 'inquire_5.txt', number = unit8, exist = exist8)if (unit8 .ne. 78 .or. .not. exist8) call abortinquire (file = 'inquire_5.txt', number = unit4, exist = exist4)if (unit4 .ne. 78 .or. .not. exist4) call abortinquire (file = 'inquire_5.txt', number = unit2, exist = exist2)if (unit2 .ne. 78 .or. .not. exist2) call abortinquire (file = 'inquire_5.txt', number = unit1, exist = exist1)if (unit1 .ne. 78 .or. .not. exist1) call abortdel = 'delete'close (unit = 78, status = del)end
Go to most recent revision | Compare with Previous | Blame | View Log
