OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [inquire_10.f90] - Rev 720

Go to most recent revision | Compare with Previous | Blame | View Log

  character(len=800) :: cwd
  integer :: unit

  call getcwd(cwd)

  open(file='cseq', unit=23)
  inquire(file='cseq',number=unit)
  if (unit /= 23) call abort
  inquire(file=trim(cwd) // '/cseq',number=unit)
  if (unit /= 23) call abort

  inquire(file='foo/../cseq2',number=unit)
  if (unit >= 0) call abort
  inquire(file='cseq2',number=unit)
  if (unit >= 0) call abort
end

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.