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] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR34560 I/O internal read: END expected, but no failure
3
program main
4
  character(len=2) :: line
5
  character(len=1) :: a(3)
6
  a = "x"
7
  line = 'ab'
8
  read (line,'(A)',END=99) a
9
  call abort
10
  99 continue
11
  if (any(a /= ['a','x','x'])) call abort
12
end program main

powered by: WebSVN 2.1.0

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