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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

! { dg-do run }
! PR34560 I/O internal read: END expected, but no failure
program main
  character(len=2) :: line
  character(len=1) :: a(3)
  a = "x"
  line = 'ab'
  read (line,'(A)',END=99) a
  call abort
  99 continue 
  if (any(a /= ['a','x','x'])) call abort
end program main

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.