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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [ichar_2.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! Test char and ichar intrinsic functions
3
Program test
4
integer i
5
 
6
if (ichar (char (0)) .ne. 0) call abort ()
7
if (ichar (char (255)) .ne. 255) call abort ()
8
if (ichar (char (127)) .ne. 127) call abort ()
9
 
10
i = 0
11
if (ichar (char (i)) .ne. i) call abort ()
12
i = 255
13
if (ichar (char (i)) .ne. i) call abort ()
14
i = 127
15
if (ichar (char (i)) .ne. i) call abort ()
16
end

powered by: WebSVN 2.1.0

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