blob: c45251e8c3ad0307f02915b5f86f56e2b840c565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
! { 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
|