blob: a8be2b5b2992eb2252c1879b90dd998d32212067 [file] [log] [blame]
! { dg-do compile }
! PR fortran/107707 - ICE in gfc_compare_actual_formal
! Contributed by G.Steinmetz
program p
character(3), allocatable :: c
c = 'abc'
call s(c)
contains
subroutine s(x)
character(real(3)), allocatable :: x ! { dg-error "must be of INTEGER type" }
end
end