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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [eor_handling_3.f90] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR 19595:  Handle end-of-record condition with pad=yes (default)
3
program main
4
  integer i1, i2
5
  open(77,status='scratch')
6
  write (77,'(A)') '123','456'
7
  rewind(77)
8
  read(77,'(2I2)',advance='no',eor=100) i1,i2
9
  call abort
10
100 continue
11
  if (i1 /= 12 .or. i2 /= 3) call abort
12
  close(77)
13
end program main

powered by: WebSVN 2.1.0

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