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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [inquire_8.f90] - Blame information for rev 516

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! fortran/pr20846
3
program inquire_8
4
  character(len=20) :: n = 'data'
5
  integer :: d = 23
6
  logical a
7
  inquire(file=n,unit=d,opened=a) ! { dg-error "contain both FILE and UNIT" }
8
  inquire(unit=d,file=n,opened=a) ! { dg-error "contain both FILE and UNIT" }
9
  inquire(opened=a)               ! { dg-error "requires either FILE or UNIT" }
10
end program inquire_8

powered by: WebSVN 2.1.0

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