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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR31199, test case from PR report.
3
       program write_write
4
       character(len=20) :: a,b,c
5
       open(10, status="scratch")
6
       write (10,"(a,t1,a,a)") "xxxxxxxxx", "abc", "def"
7
       write (10,"(a,t1,a)",advance='no') "xxxxxxxxx", "abc"
8
       write (10,"(a)") "def"
9
       write (10,"(a)") "abcdefxxx"
10
       rewind(10)
11
       read(10,*) a
12
       read(10,*) b
13
       read(10,*) c
14
       close(10)
15
       if (a.ne.b) call abort()
16
       IF (b.ne.c) call abort()
17
       end
18
 

powered by: WebSVN 2.1.0

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