blob: 78597f644347b3d5d8b82e1583f594231827d82c [file] [log] [blame]
! Program to test the ACHAR and IACHAR intrinsics
program intrinsic_achar
integer i
i = 32
if (achar(i) .ne. " ") STOP 1
i = iachar("A")
if ((i .ne. 65) .or. char(i) .ne. "A") STOP 2
end program