• Home
  • Raw
  • Download

Lines Matching full:pointer

2 ! Pointer assignment constraints 10.2.2.2
16 !ERROR: 'p1' may not have both the POINTER and TARGET attributes
17 real, pointer :: p1, p3
19 !ERROR: 'sin' may not have both the POINTER and INTRINSIC attributes
20 real, intrinsic, pointer :: sin
22 !ERROR: 'p2' may not have both the POINTER and ALLOCATABLE attributes
23 pointer :: p2
24 !ERROR: 'a' may not have the POINTER attribute because it is a coarray
25 real, pointer :: a(:)[*]
33 real, pointer :: p
35 !ERROR: Target type REAL(8) is not compatible with pointer type REAL(4)
37 !ERROR: Target type LOGICAL(4) is not compatible with pointer type REAL(4)
44 real, pointer :: p(:)
46 !ERROR: Pointer has rank 1 but target has rank 2
54 type(t(1)), pointer :: p
56 !ERROR: Target type t(k=2_4) is not compatible with pointer type t(k=1_4)
63 type(t(1)), pointer :: p1
64 type(t2), pointer :: p2
65 class(*), pointer :: p3
66 real, pointer :: p4
69 …!ERROR: Pointer type must be unlimited polymorphic or non-extensible derived type when target is u…
71 …!ERROR: Pointer type must be unlimited polymorphic or non-extensible derived type when target is u…
79 real, pointer :: p
80 real, pointer, volatile :: q
82 !ERROR: Pointer must be VOLATILE when target is a VOLATILE coarray
84 !ERROR: Pointer may not be VOLATILE when target is a non-VOLATILE coarray
94 real, pointer :: a
98 !ERROR: 'p' is not a pointer
101 !ERROR: 'b' is not a pointer
106 !variable with either the TARGET or POINTER attribute and is not
108 !to a function that returns a data pointer.
111 real, pointer :: b
112 real, pointer :: c
116 …!ERROR: In assignment to object pointer 'b', the target 'd' is not an object with POINTER or TARGE…
124 real, pointer :: p(:)
125 !ERROR: An array section with a vector subscript may not be a pointer target
132 real, pointer :: p
134 …!ERROR: pointer 'p' is associated with the result of a reference to function 'f2' that is a not a
138 real, pointer :: f1
150 real, pointer :: b
151 !ERROR: A coindexed object may not be a pointer target
163 type(t1), pointer :: c
170 real, pointer :: p
175 !OK: c has POINTER attribute
177 …!ERROR: In assignment to object pointer 'p', the target 'y%b%a' is not an object with POINTER or T…
184 !OK: c has POINTER attribute
188 …!ERROR: In assignment to object pointer 'p', the target 'z%a' is not an object with POINTER or TAR…
192 …!ERROR: In assignment to object pointer 'p', the target 'z' is not an object with POINTER or TARGE…