(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
assumed_rank_5.f90
! { dg-do compile }
! { dg-options "-std=f2008" }
!
! PR fortran/48820
!
!
subroutine foo(x)
  integer :: x(..)  ! { dg-error "Fortran 2018: Assumed-rank array" }
end subroutine foo