blob: e980158d64270dceb55149ae7fb72de56813cacb [file] [log] [blame]
! { dg-do run }
!
! PR fortran/27997
!
! Empty array constructor with typespec.
!
integer :: i(3)
i(3:2) = (/ integer :: /)
if (len((/ character(5) :: /)) /= 5) STOP 1
if (kind((/ integer(8) :: /)) /= 8) STOP 2
end