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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [noadv_size.f90] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR 20774: Handle size parameter for non-advancing I/O correctly
3
program main
4
  open(77,status='scratch')
5
  write(77,'(A)') '123'
6
  rewind(77)
7
  read(77,'(2I2)',advance='no',iostat=k,size=n) i1,i2
8
  if (k >=0) call abort
9
  if (n /= 3) call abort
10
  if (i1 /= 12 .or. i2 /= 3) call abort
11
end program main

powered by: WebSVN 2.1.0

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