source: src/Tests/Expect-v/Expression.txt@ a3f9946

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since a3f9946 was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs

  • Property mode set to 100644
File size: 8.7 KB
Line 
1fred: function
2 accepting unspecified arguments
3 returning
4 signed int
5 with body
6 CompoundStmt
7 Declaration of struct s
8 with members
9 i: signed int
10
11 Declaration of ?=?: automatically generated inline function
12 with parameters
13 _dst: pointer to instance of struct s
14 _src: instance of struct s
15 returning
16 instance of struct s
17 with body
18 CompoundStmt
19 Expression Statement:
20 Applying untyped:
21 Name: ?=?
22 ...to:
23 Address of:
24 Member Expression, with field:
25 i: signed int
26 from aggregate:
27 Applying untyped:
28 Name: *?
29 ...to:
30 Variable Expression: _dst: pointer to instance of struct s
31 Member Expression, with field:
32 i: signed int
33 from aggregate:
34 Variable Expression: _src: instance of struct s
35
36 Return Statement, returning: Variable Expression: _src: instance of struct s
37
38
39
40 Declaration of p: pointer to instance of struct s
41 Declaration of i: signed int
42 Expression Statement:
43 Applying untyped:
44 Name: !?
45 ...to:
46 Name: i
47
48 Expression Statement:
49 Applying untyped:
50 Name: ~?
51 ...to:
52 Name: i
53
54 Expression Statement:
55 Applying untyped:
56 Name: +?
57 ...to:
58 Name: i
59
60 Expression Statement:
61 Applying untyped:
62 Name: -?
63 ...to:
64 Name: i
65
66 Expression Statement:
67 Applying untyped:
68 Name: *?
69 ...to:
70 Name: p
71
72 Expression Statement:
73 Applying untyped:
74 Name: ++?
75 ...to:
76 Address of:
77 Name: p
78
79 Expression Statement:
80 Applying untyped:
81 Name: --?
82 ...to:
83 Address of:
84 Name: p
85
86 Expression Statement:
87 Applying untyped:
88 Name: ?++
89 ...to:
90 Address of:
91 Name: p
92
93 Expression Statement:
94 Applying untyped:
95 Name: ?--
96 ...to:
97 Address of:
98 Name: p
99
100 Expression Statement:
101 Applying untyped:
102 Name: ?+?
103 ...to:
104 Name: i
105 Name: i
106
107 Expression Statement:
108 Applying untyped:
109 Name: ?-?
110 ...to:
111 Name: i
112 Name: i
113
114 Expression Statement:
115 Applying untyped:
116 Name: ?*?
117 ...to:
118 Name: i
119 Name: i
120
121 Expression Statement:
122 Applying untyped:
123 Name: ?/?
124 ...to:
125 Name: i
126 Name: i
127
128 Expression Statement:
129 Applying untyped:
130 Name: ?%?
131 ...to:
132 Name: i
133 Name: i
134
135 Expression Statement:
136 Applying untyped:
137 Name: ?^?
138 ...to:
139 Name: i
140 Name: i
141
142 Expression Statement:
143 Applying untyped:
144 Name: ?&?
145 ...to:
146 Name: i
147 Name: i
148
149 Expression Statement:
150 Applying untyped:
151 Name: ?|?
152 ...to:
153 Name: i
154 Name: i
155
156 Expression Statement:
157 Applying untyped:
158 Name: ?<?
159 ...to:
160 Name: i
161 Name: i
162
163 Expression Statement:
164 Applying untyped:
165 Name: ?>?
166 ...to:
167 Name: i
168 Name: i
169
170 Expression Statement:
171 Applying untyped:
172 Name: ?=?
173 ...to:
174 Address of:
175 Name: i
176 Name: i
177
178 Expression Statement:
179 Applying untyped:
180 Name: ?==?
181 ...to:
182 Name: i
183 Name: i
184
185 Expression Statement:
186 Applying untyped:
187 Name: ?!=?
188 ...to:
189 Name: i
190 Name: i
191
192 Expression Statement:
193 Applying untyped:
194 Name: ?<<?
195 ...to:
196 Name: i
197 Name: i
198
199 Expression Statement:
200 Applying untyped:
201 Name: ?>>?
202 ...to:
203 Name: i
204 Name: i
205
206 Expression Statement:
207 Applying untyped:
208 Name: ?<=?
209 ...to:
210 Name: i
211 Name: i
212
213 Expression Statement:
214 Applying untyped:
215 Name: ?>=?
216 ...to:
217 Name: i
218 Name: i
219
220 Expression Statement:
221 Short-circuited operation (and) on: Cast of:
222 Applying untyped:
223 Name: ?!=?
224 ...to:
225 Name: i
226 Name: 0
227
228to:
229 signed int
230 and Cast of:
231 Applying untyped:
232 Name: ?!=?
233 ...to:
234 Name: i
235 Name: 0
236
237to:
238 signed int
239
240
241 Expression Statement:
242 Short-circuited operation (or) on: Cast of:
243 Applying untyped:
244 Name: ?!=?
245 ...to:
246 Name: i
247 Name: 0
248
249to:
250 signed int
251 and Cast of:
252 Applying untyped:
253 Name: ?!=?
254 ...to:
255 Name: i
256 Name: 0
257
258to:
259 signed int
260
261
262 Expression Statement:
263 Member Expression, with field: i from aggregate: Applying untyped:
264 Name: *?
265 ...to:
266 Name: p
267
268 Expression Statement:
269 Applying untyped:
270 Name: ?+=?
271 ...to:
272 Address of:
273 Name: i
274 Name: i
275
276 Expression Statement:
277 Applying untyped:
278 Name: ?-=?
279 ...to:
280 Address of:
281 Name: i
282 Name: i
283
284 Expression Statement:
285 Applying untyped:
286 Name: ?*=?
287 ...to:
288 Address of:
289 Name: i
290 Name: i
291
292 Expression Statement:
293 Applying untyped:
294 Name: ?/=?
295 ...to:
296 Address of:
297 Name: i
298 Name: i
299
300 Expression Statement:
301 Applying untyped:
302 Name: ?%=?
303 ...to:
304 Address of:
305 Name: i
306 Name: i
307
308 Expression Statement:
309 Applying untyped:
310 Name: ?&=?
311 ...to:
312 Address of:
313 Name: i
314 Name: i
315
316 Expression Statement:
317 Applying untyped:
318 Name: ?|=?
319 ...to:
320 Address of:
321 Name: i
322 Name: i
323
324 Expression Statement:
325 Applying untyped:
326 Name: ?^=?
327 ...to:
328 Address of:
329 Name: i
330 Name: i
331
332 Expression Statement:
333 Applying untyped:
334 Name: ?<<=?
335 ...to:
336 Address of:
337 Name: i
338 Name: i
339
340 Expression Statement:
341 Applying untyped:
342 Name: ?>>=?
343 ...to:
344 Address of:
345 Name: i
346 Name: i
347
348 Expression Statement:
349 Conditional expression on:
350 Cast of:
351 Applying untyped:
352 Name: ?!=?
353 ...to:
354 Name: i
355 Name: 0
356
357 to:
358 signed int
359 First alternative:
360 Name: i
361 Second alternative:
362 Name: i
363
364
365
Note: See TracBrowser for help on using the repository browser.