| 1 |
! { dg-do compile } |
| 2 |
! PR fortran/103609 - ICE in gfc_sym_get_dummy_args |
| 3 |
! Contributed by G.Steinmetz |
| 4 |
|
| 5 |
program p |
| 6 |
implicit none |
| 7 |
integer :: i |
| 8 |
do i = 1, 2 |
| 9 |
call s |
| 10 |
end do |
| 11 |
contains |
| 12 |
subroutine s |
| 13 |
call sub(x) ! { dg-error "has no IMPLICIT type" } |
| 14 |
end |
| 15 |
end |