Lines Matching full:pointer
2 ! Test 15.5.2.5 constraints and restrictions for POINTER & ALLOCATABLE
15 type(t), pointer :: mp(:), mpmat(:,:)
17 class(t), pointer :: pp(:)
19 class(t2), pointer :: pp2(:)
21 class(*), pointer :: up(:)
24 type(pdt(*)), pointer :: amp(:)
27 type(pdt(:)), pointer :: dmp(:)
29 type(pdt(1)), pointer :: nmp(:)
35 type(t), pointer :: x(:)
41 class(t), pointer :: x(:)
47 class(*), pointer :: x(:)
53 type(pdt(*)), pointer :: x(:)
59 type(pdt(:)), pointer :: x(:)
65 type(pdt(1)), pointer :: x(:)
76 !PORTABILITY: If a POINTER or ALLOCATABLE actual argument is polymorphic, the corresponding dummy argument should also be so
78 !PORTABILITY: If a POINTER or ALLOCATABLE actual argument is polymorphic, the corresponding dummy argument should also be so
80 !ERROR: If a POINTER or ALLOCATABLE dummy or actual argument is polymorphic, both must be so
82 !ERROR: If a POINTER or ALLOCATABLE dummy or actual argument is polymorphic, both must be so
84 !ERROR: If a POINTER or ALLOCATABLE dummy or actual argument is unlimited polymorphic, both must be so
86 !ERROR: If a POINTER or ALLOCATABLE dummy or actual argument is unlimited polymorphic, both must be so
89 !ERROR: Pointer type must be unlimited polymorphic or non-extensible derived type when target is unlimited polymorphic
93 !ERROR: POINTER or ALLOCATABLE dummy and actual arguments must have the same declared type and kind
95 !ERROR: POINTER or ALLOCATABLE dummy and actual arguments must have the same declared type and kind
98 !ERROR: Pointer has rank 1 but target has rank 2
108 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
110 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
112 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
114 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
116 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
118 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
129 character(len=10), pointer :: p1
130 character(len=:), pointer :: p2
145 character(len=:), pointer, intent(in) :: p
149 character(len=10), pointer, intent(in) :: p
157 character(len=:), pointer :: return_deferred_length_ptr
163 character(len=n), pointer :: return_explicit_length_ptr
169 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
174 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
181 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
184 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
200 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
205 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE
249 !ERROR: Dummy and actual arguments must defer the same type parameters when POINTER or ALLOCATABLE