blob: d5d25dece09da9f52c43a38d002ec405e7d9d297 [file] [log] [blame]
! { dg-do compile }
!
! Test the fix for PR103366.
!
! Contributed by Gerhardt Steinmetz <gscfq@t-online.de>
!
program p
call u([1])
contains
subroutine s(x) bind(c)
type(*) :: x(..)
end
subroutine u(x)
class(*) :: x(..)
call s(x) ! Used to ICE here
end
end