(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
whole_file_16.f90
! { dg-do compile }
!
! PR fortran/31346
!
program main
  real, dimension(2) :: a
  call foo(a)                ! { dg-error "Explicit interface required" }
end program main

subroutine foo(a)
  real, dimension(:) :: a
end subroutine foo