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/] [strarray_2.f90] - Rev 816

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

subroutine foo(i,c)
character c
integer i
character(1),parameter :: hex_chars(0:15)=&
  (/'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'/)

c = hex_chars(i)
end

program strarray_2
  character c
  call foo(3,c)
  if (c.ne.'3') call abort()
end

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.