3 ! Check for the new Fortran 2023 ISO_FORTRAN_ENV named constants
9 ! These integer kinds are guaranteed on
15 logical(logical8
) :: l8
16 logical(logical16
) :: l16
17 logical(logical32
) :: l32
18 logical(logical64
) :: l64
20 ! We do not support REAL16 for now, but check it can
21 ! still be used in specification expressions
22 real(kind
=max(real16
, real32
)) :: x
24 if (logical8
/= int8
) stop 1
25 if (logical16
/= int16
) stop 2
26 if (logical32
/= int32
) stop 3
27 if (logical64
/= int64
) stop 4
29 ! We do not support REAL16 for now
30 if (real16
/= -2) stop 101