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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.dg/] [arrayio_5.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
! { dg-do run }
2
! PR 21875 : Test formatted input/output to/from character arrays.
3
! This test checks the error checking for end of file condition.
4
! Contributed by Jerry DeLisle .
5
program arrayio_5
6
  implicit none
7
  integer        :: i,ierr
8
  character(12)  :: r(10) = '0123456789AB'
9
 
10
  write(r,'(i12)',iostat=ierr) 1,2,3,4,5,6,7,8,9,10,11
11
  if (ierr.ne.-1) call abort()
12
 end program arrayio_5
13
 

powered by: WebSVN 2.1.0

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