Debian Codegraph @

gcc/testsuite/gfortran.dg/pr94380.f90

raw
1 ! { dg-do compile }
2 !
3 ! Contributed by Vladimir Nikishkin <[email protected]>
4 !
5 module test
6 type testtype
7 class(*), allocatable :: t
8 end type testtype
9 contains
10 subroutine testproc( x )
11 class(testtype) :: x
12 associate ( temp => x%t)
13 select type (temp)
14 type is (integer)
15 end select
16 end associate
17 end subroutine testproc
18 end module test