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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [inquire_10.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
  character(len=800) :: cwd
2
  integer :: unit
3
 
4
  call getcwd(cwd)
5
 
6
  open(file='cseq', unit=23)
7
  inquire(file='cseq',number=unit)
8
  if (unit /= 23) call abort
9
  inquire(file=trim(cwd) // '/cseq',number=unit)
10
  if (unit /= 23) call abort
11
 
12
  inquire(file='foo/../cseq2',number=unit)
13
  if (unit >= 0) call abort
14
  inquire(file='cseq2',number=unit)
15
  if (unit >= 0) call abort
16
end

powered by: WebSVN 2.1.0

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