summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/achar_1.f90
blob: 1fdb77472109f6351c0fe5ee72f9788c559f2cd9 (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') call abort
end program  bug6