OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [write_check4.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/35840
4
!
5
! The asynchronous specifier for a data transfer statement shall be
6
! an initialization expression
7
!
8
! Contributed by Tobias Burnus 
9
!
10
  character(2) :: no
11
  no = "no"
12
  open (unit=10, asynchronous = no)              ! Ok, it isn't a transfer stmt
13
  write(*,*, asynchronous="Y"//"E"//trim("S  ")) ! Ok, it is an init expr
14
  write(*,*, asynchronous=no)  ! { dg-error "must be an initialization expression" }
15
  read (*,*, asynchronous="Y"//"e"//trim("S  "))
16
  read (*,*, asynchronous=no)  ! { dg-error "must be an initialization expression" }
17
end

powered by: WebSVN 2.1.0

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