aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/achar_1.f90
blob: 6b3073b17a7eddb0e13504891669c737e3822bb1 (plain)
1
2
3
4
5
6
7
8
! { dg-do run }
! achar() should work with all supported integer kinds.
program  bug6
  integer(1) :: i = 65
  character a
  a = achar(i)
  if (a /= 'A') STOP 1
end program  bug6