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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [eor_1.f90] - Blame information for rev 862

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-options "-std=legacy" }
3
!
4
! PR 19451: The test for advance='NO' with eor used to be reversed.
5
program main
6
  character*2 c
7
  open(12, status='SCRATCH')
8
  write(12, '(A)') '123', '456'
9
  rewind(12)
10
  read(12, '(A2)', advance='NO', eor=100) c
11
100 continue
12
end program main

powered by: WebSVN 2.1.0

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