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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

! { dg-do run }
! { dg-options "-finit-character=89" }
!
! PR fortran/51800
!

subroutine foo(n)
  character(len=n) :: str
!  print *, str
  if (str /= repeat ('Y', n)) call abort()
end subroutine foo

call foo(3)
call foo(10)
end

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.