blob: c45251e8c3ad0307f02915b5f86f56e2b840c565 [file] [log] [blame]
! { 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