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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [intrinsic_achar.f90] - Blame information for rev 695

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 695 jeremybenn
! Program to test the ACHAR and IACHAR intrinsics
2
program intrinsic_achar
3
  integer i
4
 
5
  i = 32
6
  if (achar(i) .ne. " ") call abort
7
  i = iachar("A")
8
  if ((i .ne. 65) .or. char(i) .ne. "A") call abort
9
end program

powered by: WebSVN 2.1.0

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