blob: e29594f2ff970e01da0a91422d9386ea8d845e84 [file] [log] [blame]
! { dg-do compile }
!
! Contributed by Vladimir Nikishkin <lockywolf@gmail.com>
!
module test
type testtype
class(*), allocatable :: t
end type testtype
contains
subroutine testproc( x )
class(testtype) :: x
associate ( temp => x%t)
select type (temp)
type is (integer)
end select
end associate
end subroutine testproc
end module test