Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / achar_1.f90
blob1fdb77472109f6351c0fe5ee72f9788c559f2cd9
1 ! { dg-do run }
2 ! achar() should work with all supported integer kinds.
3 program bug6
4 integer(1) :: i = 65
5 character a
6 a = achar(i)
7 if (a /= 'A') call abort
8 end program bug6