blob: 4460226831ef1eb15bf45e47327dd849ea8a7d2b [file] [log] [blame]
! { dg-do compile }
! PR 91443 - this was not caught.
module x
contains
subroutine a
call foo(1) ! { dg-error "Type mismatch in argument" }
end subroutine a
end module x
subroutine foo(a)
real :: a
print *,a
end subroutine foo
program main
use x
call a
end program main