2 ! { dg-options "-std=f2018" }
4 ! Check diagnostics for new F2023 named constants
11 logical(kind
=logical8
) :: x
! { dg-error "has no IMPLICIT type" }
15 use iso_fortran_env
, only
: logical8
! { dg-error "not in the selected standard" }
16 use iso_fortran_env
, only
: logical16
! { dg-error "not in the selected standard" }
17 use iso_fortran_env
, only
: logical32
! { dg-error "not in the selected standard" }
18 use iso_fortran_env
, only
: logical64
! { dg-error "not in the selected standard" }
19 use iso_fortran_env
, only
: real16
! { dg-error "not in the selected standard" }
24 use iso_fortran_env
, only
: int8
25 use iso_fortran_env
, only
: int16
26 use iso_fortran_env
, only
: int32
27 use iso_fortran_env
, only
: int64