aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr103609.f90
blob: 57f6a3b1531034948ab9bd4a48fcd882b25f7620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
! PR fortran/103609 - ICE in gfc_sym_get_dummy_args
! Contributed by G.Steinmetz

program p
  implicit none
  integer :: i
  do i = 1, 2
     call s
  end do
contains
  subroutine s
    call sub(x) ! { dg-error "has no IMPLICIT type" }
  end
end