blob: fd7e4c46032c1d41ba9ab8764b138c18647c147b [file] [log] [blame]
! { dg-do run }
!
! Test the fix for PR100029
!
program foo_p
implicit none
type :: foo_t
end type foo_t
class(foo_t), allocatable :: pout
call foo_s(pout)
contains
subroutine foo_s(that)
class(foo_t), allocatable, intent(out) :: that(..)
end subroutine foo_s
end program foo_p