2 ! { dg-options "-fcoarray=single" }
8 integer, pointer :: caf2
[:] ! { dg-error "must be allocatable with deferred shape" }
11 integer, pointer :: caf
[*] ! { dg-error "POINTER attribute conflicts with CODIMENSION attribute" }
14 type(lock_type
), pointer :: lock_it
! { dg-error "Component lock_it at .1. of type LOCK_TYPE must have a codimension or be a subcomponent of a coarray, which is not possible as the component has the pointer attribute" }
23 type(t3
), pointer :: y
! { dg-error "Pointer component y at .1. has a noncoarray subcomponent of type LOCK_TYPE, which must have a codimension or be a subcomponent of a coarray" }