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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [write_a_1.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
! pr 15311
2
! output with 'A' edit descriptor
3
      program write_a_1
4
      character*25 s
5
! string = format
6
      write(s,'(A11)') "hello world"
7
      if (s.ne."hello world") call abort
8
! string < format
9
      write(s,'(A2)') "hello world"
10
      if (s.ne."he") call abort
11
! string > format
12
      write(s,'(A18)') "hello world"
13
      if (s.ne."       hello world") call abort
14
      end

powered by: WebSVN 2.1.0

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