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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [noadv_size.f90] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do run }
! PR 20774: Handle size parameter for non-advancing I/O correctly
program main
  open(77,status='scratch')
  write(77,'(A)') '123'
  rewind(77)
  read(77,'(2I2)',advance='no',iostat=k,size=n) i1,i2
  if (k >=0) call abort
  if (n /= 3) call abort
  if (i1 /= 12 .or. i2 /= 3) call abort
end program main

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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