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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [fmt_t_7.f] - Blame information for rev 313

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run { target fd_truncate } }
2
! PR34974 null bytes when reverse-tabbing long records
3
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
4
       program test
5
       character(1) :: a, b, c
6
       write (10,'(t50000,a,t1,a)') 'b', 'a'
7
       close (10)
8
       open (10, access="stream")
9
       read (10, pos=1) a
10
       read (10, pos=50000) b
11
       read (10, pos=25474) c
12
       close (10, status="delete")
13
       if (a /= "a") call abort
14
       if (b /= "b") call abort
15
       if (c /= " ") call abort
16
       end

powered by: WebSVN 2.1.0

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