blob: 6c910f47a2cda165b157662c90e8cb38b8de23d0 [file] [log] [blame]
! { dg-do compile }
! { dg-options "-fwhole-file" }
!
! 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