Debian Codegraph @

gcc/testsuite/gfortran.dg/PR100029.f90

raw
1 ! { dg-do run }
2 !
3 ! Test the fix for PR100029
4 !
5
6 program foo_p
7 implicit none
8
9 type :: foo_t
10 end type foo_t
11
12 class(foo_t), allocatable :: pout
13
14 call foo_s(pout)
15
16 contains
17
18 subroutine foo_s(that)
19 class(foo_t), allocatable, intent(out) :: that(..)
20 end subroutine foo_s
21
22 end program foo_p