blob: 3bedc9b24611d9705594a3102fd60d1290e5e9b1 [file] [log] [blame]
type t
integer :: t
end type t
class(t), target, allocatable :: c, ca(:)
class(*), pointer :: p, pa(:)
integer :: x
logical ll
allocate( t :: c, ca(5))
p => c
pa => ca
!$omp target ! { dg-warning "Mapping of polymorphic list item 'ca' is unspecified behavior \\\[-Wopenmp\\\]" }
ll = allocated(ca)
!$omp end target
end