OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [arrayio_8.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR28339, This test checks that internal unit array I/O handles a full record
3
! and and advances to th enext record properly.  Test case derived from PR
4
! Submitted by Jerry DeLisle  
5
      program main
6
      integer          i
7
      character*8      rec(3)
8
      rec = ""
9
      write (rec,fmt=99999)
10
      if (rec(1).ne.'12345678') call abort()
11
      if (rec(2).ne.'record2') call abort()
12
      if (rec(3).ne.'record3') call abort()
13
99999 format ('12345678',/'record2',/'record3')
14
      end
15
 

powered by: WebSVN 2.1.0

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