1 program contiguous_pointer
7 class(t
), dimension(:), contiguous
, pointer :: x
! OK
8 class(t
), contiguous
, allocatable
:: y
! { dg-error "has the CONTIGUOUS attribute but is not an array pointer" }
9 class(t
), contiguous
, pointer :: z
! { dg-error "has the CONTIGUOUS attribute but is not an array pointer" }
12 end program contiguous_pointer