RISC-V: Regenerate opt urls.
[official-gcc.git] / gcc / testsuite / gfortran.dg / argument_checking_19.f90
blob4460226831ef1eb15bf45e47327dd849ea8a7d2b
1 ! { dg-do compile }
2 ! PR 91443 - this was not caught.
3 module x
4 contains
5 subroutine a
6 call foo(1) ! { dg-error "Type mismatch in argument" }
7 end subroutine a
8 end module x
10 subroutine foo(a)
11 real :: a
12 print *,a
13 end subroutine foo
15 program main
16 use x
17 call a
18 end program main