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/] [fmt_colon.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR31395 Colon edit descriptor is ignored.
3
! Test case derived from PR. Prepared by Jerry DeLisle
4
! 
5
PROGRAM test
6
    INTEGER :: i = 1
7
    character(30) :: astring
8
    WRITE(astring, 10) i
9
 10 FORMAT('i =',I2:' this should not print')
10
    if (astring.ne."i = 1") call abort
11
    write(astring, 20) i, i
12
 20 format('i =',I2:' this should print',I2)
13
    if (astring.ne."i = 1 this should print 1") call abort
14
END PROGRAM test

powered by: WebSVN 2.1.0

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