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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! pr18778 abort on endfile without opening unit
3
      program test
4
      implicit none
5
      integer i
6
      endfile(8)
7
      rewind(8)
8
      read(8,end=0023)i
9
      call abort ! should never get here
10
      stop
11
 0023 continue
12
      close(8,status='delete')
13
      end

powered by: WebSVN 2.1.0

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