Lines Matching full:data

2 !Testing data constraints : C876, C877
9 !ERROR: Host-associated object 'first' must not be initialized in a DATA statement
10 DATA first /1/
26 !ERROR: Dummy argument 'i' must not be initialized in a DATA statement
27 DATA i /1/
29 !ERROR: Function result 'f' must not be initialized in a DATA statement
30 DATA f /1/
32 !ERROR: Procedure 'g' must not be initialized in a DATA statement
33 DATA g /1/
35 !ERROR: Allocatable 'a' must not be initialized in a DATA statement
36 DATA a /1/
38 !ERROR: Automatic variable 'b' must not be initialized in a DATA statement
39 DATA b(1) /1/
42 DATA charPtr / NULL() /
44 !ERROR: Allocatable 'charalloc' must not be initialized in a DATA statement
45 DATA charAlloc / 'abc' /
73 DATA(largeNumber % numsArray(j) % headOfTheList, j = 1, 10) / 10 * NULL() /
75 !ERROR: Data object must not contain pointer 'headofthelist' as a non-rightmost part
76 DATA(largeNumber % numsArray(j) % headOfTheList % one, j = 1, 10) / 10 * 1 /
78 !ERROR: Rightmost data object pointer 'ptoarray' must not be subscripted
79 DATA(largeNumber % numsArray(j) % ptoarray(1), j = 1, 10) / 10 * 1 /
81 !ERROR: Rightmost data object pointer 'ptochar' must not be subscripted
82 DATA largeNumber % numsArray(1) % ptochar(1:2) / 'ab' /
84 !ERROR: Allocatable 'elt' must not be initialized in a DATA statement
85 DATA(largeNumber % elt(j) , j = 1, 10) / 10 * 1/
87 !ERROR: Allocatable 'allocval' must not be initialized in a DATA statement
88 DATA(largeArray(j) % allocVal , j = 1, 10) / 10 * 1/
90 !ERROR: Allocatable 'allocatablelarge' must not be initialized in a DATA statement
91 DATA allocatableLarge % val / 1 /
93 !ERROR: Automatic variable 'largenumberarray' must not be initialized in a DATA statement
94 DATA(largeNumberArray(j) % val, j = 1, 10) / 10 * NULL() /
96 !ERROR: Automatic variable 'name' must not be initialized in a DATA statement
97 DATA name( : 2) / 'Ancd' /
98 !ERROR: Target of pointer 'sp' must not be initialized in a DATA statement
99 DATA sp%x / 1.0 /
103 block data foo
108 DATA a /1/
109 end block data
123 !ERROR: Dummy argument 'm2_number' must not be initialized in a DATA statement
124 DATA m2_number%number /1/
126 !ERROR: Host-associated object 'm2_number1' must not be initialized in a DATA statement
127 DATA m2_number1%number /1/
130 DATA m2_number3%number /1/
138 !ERROR: USE-associated object 'm2_i' must not be initialized in a DATA statement
139 DATA m2_i /1/
141 !ERROR: USE-associated object 'm2_number1' must not be initialized in a DATA statement
142 DATA m2_number1%number /1/
145 DATA m2_number2%number /1/