! { dg-do compile }! PR fortran/91564! Contributed by Gerhard Steinmetz.program p
integer i, j
callkill(1,2,3)! { dg-error "shall be an INTENT" }
i =42callbar(i, j)endsubroutinebar(n, m)integer,intent(in) :: n
integer,intent(inout) :: m
callkill(1,3, n)! { dg-error "shall be an INTENT" }callkill(1,3, m)end subroutine bar