source: src/Tests/Expect-e/TypedefDeclarator.txt @ 8c8b614

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 8c8b614 was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 9 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: 16.3 KB
RevLine 
[5f2f2d7]1main: C function
2      accepting unspecified arguments
[51b7345]3    returning
4      signed int
5    with body
[5f2f2d7]6      CompoundStmt
7        Declaration of f1: signed int
8        Declaration of f2: signed int
9        Declaration of f3: pointer to signed int
10        Declaration of f4: pointer to pointer to signed int
11        Declaration of f5: pointer to const pointer to signed int
12        Declaration of f6: const pointer to const pointer to signed int
13        Declaration of f7: pointer to signed int
14        Declaration of f8: pointer to pointer to signed int
15        Declaration of f9: pointer to const pointer to signed int
16        Declaration of f10: const pointer to const pointer to signed int
17        Declaration of f11: pointer to signed int
18        Declaration of f12: pointer to pointer to signed int
19        Declaration of f13: pointer to const pointer to signed int
20        Declaration of f14: const pointer to const pointer to signed int
21        Declaration of f15: open array of signed int
[b1d6dd5]22        Declaration of f16: array of signed int with dimension of           Cast of:
23constant expression 10 signed int
24          to:
25            long unsigned int
26          with environment:
27            Types:
28            Non-types:
29
[5f2f2d7]30        Declaration of f17: open array of signed int
[b1d6dd5]31        Declaration of f18: array of signed int with dimension of           Cast of:
32constant expression 10 signed int
33          to:
34            long unsigned int
35          with environment:
36            Types:
37            Non-types:
38
[5f2f2d7]39        Declaration of f19: open array of pointer to signed int
[b1d6dd5]40        Declaration of f20: array of pointer to signed int with dimension of           Cast of:
41constant expression 10 signed int
42          to:
43            long unsigned int
44          with environment:
45            Types:
46            Non-types:
47
[5f2f2d7]48        Declaration of f21: open array of pointer to pointer to signed int
[b1d6dd5]49        Declaration of f22: array of pointer to pointer to signed int with dimension of           Cast of:
50constant expression 10 signed int
51          to:
52            long unsigned int
53          with environment:
54            Types:
55            Non-types:
56
[5f2f2d7]57        Declaration of f23: open array of pointer to const pointer to signed int
[b1d6dd5]58        Declaration of f24: array of pointer to const pointer to signed int with dimension of           Cast of:
59constant expression 10 signed int
60          to:
61            long unsigned int
62          with environment:
63            Types:
64            Non-types:
65
[5f2f2d7]66        Declaration of f25: open array of const pointer to const pointer to signed int
[b1d6dd5]67        Declaration of f26: array of const pointer to const pointer to signed int with dimension of           Cast of:
68constant expression 10 signed int
69          to:
70            long unsigned int
71          with environment:
72            Types:
73            Non-types:
74
[5f2f2d7]75        Declaration of f27: open array of pointer to signed int
[b1d6dd5]76        Declaration of f28: array of pointer to signed int with dimension of           Cast of:
77constant expression 10 signed int
78          to:
79            long unsigned int
80          with environment:
81            Types:
82            Non-types:
83
[5f2f2d7]84        Declaration of f29: open array of pointer to pointer to signed int
[b1d6dd5]85        Declaration of f30: array of pointer to pointer to signed int with dimension of           Cast of:
86constant expression 10 signed int
87          to:
88            long unsigned int
89          with environment:
90            Types:
91            Non-types:
92
[5f2f2d7]93        Declaration of f31: open array of pointer to const pointer to signed int
[b1d6dd5]94        Declaration of f32: array of pointer to const pointer to signed int with dimension of           Cast of:
95constant expression 10 signed int
96          to:
97            long unsigned int
98          with environment:
99            Types:
100            Non-types:
101
[5f2f2d7]102        Declaration of f33: open array of const pointer to const pointer to signed int
[b1d6dd5]103        Declaration of f34: array of const pointer to const pointer to signed int with dimension of           Cast of:
104constant expression 10 signed int
105          to:
106            long unsigned int
107          with environment:
108            Types:
109            Non-types:
110
[5f2f2d7]111        Declaration of f35: open array of pointer to signed int
[b1d6dd5]112        Declaration of f36: array of pointer to signed int with dimension of           Cast of:
113constant expression 10 signed int
114          to:
115            long unsigned int
116          with environment:
117            Types:
118            Non-types:
119
[5f2f2d7]120        Declaration of f37: open array of pointer to pointer to signed int
[b1d6dd5]121        Declaration of f38: array of pointer to pointer to signed int with dimension of           Cast of:
122constant expression 10 signed int
123          to:
124            long unsigned int
125          with environment:
126            Types:
127            Non-types:
128
[5f2f2d7]129        Declaration of f39: open array of pointer to const pointer to signed int
[b1d6dd5]130        Declaration of f40: array of pointer to const pointer to signed int with dimension of           Cast of:
131constant expression 10 signed int
132          to:
133            long unsigned int
134          with environment:
135            Types:
136            Non-types:
137
[5f2f2d7]138        Declaration of f41: open array of const pointer to const pointer to signed int
[b1d6dd5]139        Declaration of f42: array of const pointer to const pointer to signed int with dimension of           Cast of:
140constant expression 10 signed int
141          to:
142            long unsigned int
143          with environment:
144            Types:
145            Non-types:
146
[5f2f2d7]147        Declaration of f43: open array of array of signed int with dimension of constant expression 3 signed int
[b1d6dd5]148        Declaration of f44: array of array of signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
149constant expression 3 signed int
150          to:
151            long unsigned int
152          with environment:
153            Types:
154            Non-types:
155
[5f2f2d7]156        Declaration of f45: open array of array of signed int with dimension of constant expression 3 signed int
[b1d6dd5]157        Declaration of f46: array of array of signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
158constant expression 3 signed int
159          to:
160            long unsigned int
161          with environment:
162            Types:
163            Non-types:
164
[5f2f2d7]165        Declaration of f47: open array of array of signed int with dimension of constant expression 3 signed int
[b1d6dd5]166        Declaration of f48: array of array of signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
167constant expression 3 signed int
168          to:
169            long unsigned int
170          with environment:
171            Types:
172            Non-types:
173
[5f2f2d7]174        Declaration of f49: open array of array of pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]175        Declaration of f50: array of array of pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
176constant expression 3 signed int
177          to:
178            long unsigned int
179          with environment:
180            Types:
181            Non-types:
182
[5f2f2d7]183        Declaration of f51: open array of array of pointer to pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]184        Declaration of f52: array of array of pointer to pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
185constant expression 3 signed int
186          to:
187            long unsigned int
188          with environment:
189            Types:
190            Non-types:
191
[5f2f2d7]192        Declaration of f53: open array of array of pointer to const pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]193        Declaration of f54: array of array of pointer to const pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
194constant expression 3 signed int
195          to:
196            long unsigned int
197          with environment:
198            Types:
199            Non-types:
200
[5f2f2d7]201        Declaration of f55: open array of array of const pointer to const pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]202        Declaration of f56: array of array of const pointer to const pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
203constant expression 3 signed int
204          to:
205            long unsigned int
206          with environment:
207            Types:
208            Non-types:
209
[5f2f2d7]210        Declaration of f57: open array of array of pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]211        Declaration of f58: array of array of pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
212constant expression 3 signed int
213          to:
214            long unsigned int
215          with environment:
216            Types:
217            Non-types:
218
[5f2f2d7]219        Declaration of f59: open array of array of pointer to pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]220        Declaration of f60: array of array of pointer to pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
221constant expression 3 signed int
222          to:
223            long unsigned int
224          with environment:
225            Types:
226            Non-types:
227
[5f2f2d7]228        Declaration of f61: open array of array of pointer to const pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]229        Declaration of f62: array of array of pointer to const pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
230constant expression 3 signed int
231          to:
232            long unsigned int
233          with environment:
234            Types:
235            Non-types:
236
[5f2f2d7]237        Declaration of f63: open array of array of const pointer to const pointer to signed int with dimension of constant expression 3 signed int
[b1d6dd5]238        Declaration of f64: array of array of const pointer to const pointer to signed int with dimension of constant expression 3 signed int with dimension of           Cast of:
239constant expression 3 signed int
240          to:
241            long unsigned int
242          with environment:
243            Types:
244            Non-types:
245
[5f2f2d7]246        Declaration of f65: function
247            with parameters
248              signed int
249            returning
250              signed int
[51b7345]251
[5f2f2d7]252        Declaration of f66: function
253            with parameters
254              signed int
255            returning
256              signed int
[51b7345]257
[5f2f2d7]258        Declaration of f67: function
259            with parameters
260              signed int
261            returning
262              pointer to signed int
[51b7345]263
[5f2f2d7]264        Declaration of f68: function
265            with parameters
266              signed int
267            returning
268              pointer to pointer to signed int
[51b7345]269
[5f2f2d7]270        Declaration of f69: function
271            with parameters
272              signed int
273            returning
274              pointer to const pointer to signed int
[51b7345]275
[5f2f2d7]276        Declaration of f70: function
277            with parameters
278              signed int
279            returning
280              const pointer to const pointer to signed int
[51b7345]281
[5f2f2d7]282        Declaration of f71: function
283            with parameters
284              signed int
285            returning
286              pointer to signed int
[51b7345]287
[5f2f2d7]288        Declaration of f72: function
289            with parameters
290              signed int
291            returning
292              pointer to pointer to signed int
[51b7345]293
[5f2f2d7]294        Declaration of f73: function
295            with parameters
296              signed int
297            returning
298              pointer to const pointer to signed int
[51b7345]299
[5f2f2d7]300        Declaration of f74: function
301            with parameters
302              signed int
303            returning
304              const pointer to const pointer to signed int
[51b7345]305
[5f2f2d7]306        Declaration of f75: pointer to function
307            with parameters
308              signed int
309            returning
310              signed int
[51b7345]311
[5f2f2d7]312        Declaration of f76: pointer to pointer to function
313            with parameters
314              signed int
315            returning
316              signed int
[51b7345]317
[5f2f2d7]318        Declaration of f77: pointer to const pointer to function
319            with parameters
320              signed int
321            returning
322              signed int
[51b7345]323
[5f2f2d7]324        Declaration of f78: const pointer to const pointer to function
325            with parameters
326              signed int
327            returning
328              signed int
[51b7345]329
[5f2f2d7]330        Declaration of f79: pointer to function
331            with parameters
332              signed int
333            returning
334              pointer to function
335                    accepting unspecified arguments
336                  returning
337                    signed int
[51b7345]338
339
[5f2f2d7]340        Declaration of f80: const pointer to function
341            with parameters
342              signed int
343            returning
344              pointer to function
345                    accepting unspecified arguments
346                  returning
347                    signed int
[51b7345]348
349
[5f2f2d7]350        Declaration of f81: const pointer to function
351            with parameters
352              signed int
353            returning
354              const pointer to function
355                    accepting unspecified arguments
356                  returning
357                    signed int
[51b7345]358
359
360
[b1d6dd5]361int main(){
362    int __f1__i;
363    int __f2__i;
364    int *__f3__Pi;
365    int **__f4__PPi;
366    int *const *__f5__PCPi;
367    int *const *const __f6__CPCPi;
368    int *__f7__Pi;
369    int **__f8__PPi;
370    int *const *__f9__PCPi;
371    int *const *const __f10__CPCPi;
372    int *__f11__Pi;
373    int **__f12__PPi;
374    int *const *__f13__PCPi;
375    int *const *const __f14__CPCPi;
376    int __f15__A0i[];
377    int __f16__A0i[((long unsigned int )10)];
378    int __f17__A0i[];
379    int __f18__A0i[((long unsigned int )10)];
380    int *__f19__A0Pi[];
381    int *__f20__A0Pi[((long unsigned int )10)];
382    int **__f21__A0PPi[];
383    int **__f22__A0PPi[((long unsigned int )10)];
384    int *const *__f23__A0PCPi[];
385    int *const *__f24__A0PCPi[((long unsigned int )10)];
386    int *const *const __f25__A0CPCPi[];
387    int *const *const __f26__A0CPCPi[((long unsigned int )10)];
388    int *__f27__A0Pi[];
389    int *__f28__A0Pi[((long unsigned int )10)];
390    int **__f29__A0PPi[];
391    int **__f30__A0PPi[((long unsigned int )10)];
392    int *const *__f31__A0PCPi[];
393    int *const *__f32__A0PCPi[((long unsigned int )10)];
394    int *const *const __f33__A0CPCPi[];
395    int *const *const __f34__A0CPCPi[((long unsigned int )10)];
396    int *__f35__A0Pi[];
397    int *__f36__A0Pi[((long unsigned int )10)];
398    int **__f37__A0PPi[];
399    int **__f38__A0PPi[((long unsigned int )10)];
400    int *const *__f39__A0PCPi[];
401    int *const *__f40__A0PCPi[((long unsigned int )10)];
402    int *const *const __f41__A0CPCPi[];
403    int *const *const __f42__A0CPCPi[((long unsigned int )10)];
404    int __f43__A0A0i[][3];
405    int __f44__A0A0i[((long unsigned int )3)][3];
406    int __f45__A0A0i[][3];
407    int __f46__A0A0i[((long unsigned int )3)][3];
408    int __f47__A0A0i[][3];
409    int __f48__A0A0i[((long unsigned int )3)][3];
410    int *__f49__A0A0Pi[][3];
411    int *__f50__A0A0Pi[((long unsigned int )3)][3];
412    int **__f51__A0A0PPi[][3];
413    int **__f52__A0A0PPi[((long unsigned int )3)][3];
414    int *const *__f53__A0A0PCPi[][3];
415    int *const *__f54__A0A0PCPi[((long unsigned int )3)][3];
416    int *const *const __f55__A0A0CPCPi[][3];
417    int *const *const __f56__A0A0CPCPi[((long unsigned int )3)][3];
418    int *__f57__A0A0Pi[][3];
419    int *__f58__A0A0Pi[((long unsigned int )3)][3];
420    int **__f59__A0A0PPi[][3];
421    int **__f60__A0A0PPi[((long unsigned int )3)][3];
422    int *const *__f61__A0A0PCPi[][3];
423    int *const *__f62__A0A0PCPi[((long unsigned int )3)][3];
424    int *const *const __f63__A0A0CPCPi[][3];
425    int *const *const __f64__A0A0CPCPi[((long unsigned int )3)][3];
426    int __f65__Fi_i_(int );
427    int __f66__Fi_i_(int );
428    int *__f67__FPi_i_(int );
429    int **__f68__FPPi_i_(int );
430    int *const *__f69__FPCPi_i_(int );
431    int *const *const __f70__FCPCPi_i_(int );
432    int *__f71__FPi_i_(int );
433    int **__f72__FPPi_i_(int );
434    int *const *__f73__FPCPi_i_(int );
435    int *const *const __f74__FCPCPi_i_(int );
436    int (*__f75__PFi_i_)(int );
437    int (**__f76__PPFi_i_)(int );
438    int (*const *__f77__PCPFi_i_)(int );
439    int (*const *const __f78__CPCPFi_i_)(int );
440    int (*(*__f79__PFPFi___i_)(int ))();
441    int (*(*const __f80__CPFPFi___i_)(int ))();
442    int (*const (*const __f81__CPFCPFi___i_)(int ))();
443}
Note: See TracBrowser for help on using the repository browser.