(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
argument_checking_19.f90
! { 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