source: src/Tests/Expect-a/Functions.txt @ 7bcf74e

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 7bcf74e 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: 13.8 KB
Line 
1h: function
2    with parameters
3      void
4    returning
5      void
6    with body
7      CompoundStmt
8
9f: function
10    with parameters
11      function
12          with parameters
13            void
14          returning
15            signed int
16
17      function
18          with parameters
19            signed int
20          returning
21            signed int
22
23      function
24          with parameters
25            void
26          returning
27            signed int
28
29      function
30          with parameters
31            signed int
32          returning
33            signed int
34
35      g: function
36          with parameters
37            void
38          returning
39            void
40
41    returning
42      signed int
43    with body
44      CompoundStmt
45                  Expression Statement:
46            Applying untyped:
47                Applying untyped:
48                    Name: *?
49                ...to:
50                    Name: g
51            ...to:
52
53                  Expression Statement:
54            Applying untyped:
55                Name: g
56            ...to:
57
58                  Expression Statement:
59            Applying untyped:
60                Name: ?=?
61            ...to:
62                Address of:
63                  Name: g
64                Name: h
65
66
67f1: function
68      accepting unspecified arguments
69    returning
70      signed int
71    with body
72      CompoundStmt
73
74f2: function
75      accepting unspecified arguments
76    returning
77      signed int
78    with body
79      CompoundStmt
80
81f3: function
82      accepting unspecified arguments
83    returning
84      pointer to function
85            accepting unspecified arguments
86          returning
87            signed int
88
89    with body
90      CompoundStmt
91
92f4: function
93      accepting unspecified arguments
94    returning
95      pointer to signed int
96    with body
97      CompoundStmt
98
99f5: function
100      accepting unspecified arguments
101    returning
102      pointer to function
103            accepting unspecified arguments
104          returning
105            signed int
106
107    with body
108      CompoundStmt
109
110f6: function
111      accepting unspecified arguments
112    returning
113      pointer to signed int
114    with body
115      CompoundStmt
116
117f7: function
118      accepting unspecified arguments
119    returning
120      pointer to signed int
121    with body
122      CompoundStmt
123
124f8: function
125      accepting unspecified arguments
126    returning
127      pointer to pointer to signed int
128    with body
129      CompoundStmt
130
131f9: function
132      accepting unspecified arguments
133    returning
134      pointer to const pointer to signed int
135    with body
136      CompoundStmt
137
138f10: function
139      accepting unspecified arguments
140    returning
141      pointer to open array of signed int
142    with body
143      CompoundStmt
144
145f11: function
146      accepting unspecified arguments
147    returning
148      pointer to open array of array of signed int with dimension of constant expression 3 signed int
149    with body
150      CompoundStmt
151
152f12: function
153      accepting unspecified arguments
154    returning
155      pointer to open array of array of signed int with dimension of constant expression 3 signed int
156    with body
157      CompoundStmt
158
159fII1: function
160    with parameters
161      i: signed int
162    returning
163      signed int
164    with body
165      CompoundStmt
166
167fII2: function
168    with parameters
169      i: signed int
170    returning
171      const signed int
172    with body
173      CompoundStmt
174
175fII3: auto function
176    with parameters
177      i: signed int
178    returning
179      signed int
180    with body
181      CompoundStmt
182
183fII4: auto function
184    with parameters
185      i: signed int
186    returning
187      const signed int
188    with body
189      CompoundStmt
190
191fII5: function
192      accepting unspecified arguments
193    returning
194      pointer to signed int
195    with body
196      CompoundStmt
197
198fII6: function
199      accepting unspecified arguments
200    returning
201      const pointer to signed int
202    with body
203      CompoundStmt
204
205fII7: function
206      accepting unspecified arguments
207    returning
208      pointer to const long signed int
209    with body
210      CompoundStmt
211
212fII8: static function
213      accepting unspecified arguments
214    returning
215      pointer to const long signed int
216    with body
217      CompoundStmt
218
219fII9: static function
220      accepting unspecified arguments
221    returning
222      pointer to const long signed int
223    with body
224      CompoundStmt
225
226fO1: function
227      accepting unspecified arguments
228    returning
229      signed int
230    with parameter names
231      i
232    with parameter declarations
233      i: signed int
234    with body
235      CompoundStmt
236
237fO2: function
238      accepting unspecified arguments
239    returning
240      signed int
241    with parameter names
242      i
243    with parameter declarations
244      i: signed int
245    with body
246      CompoundStmt
247
248fO3: function
249      accepting unspecified arguments
250    returning
251      const signed int
252    with parameter names
253      i
254    with parameter declarations
255      i: signed int
256    with body
257      CompoundStmt
258
259fO4: auto function
260      accepting unspecified arguments
261    returning
262      signed int
263    with parameter names
264      i
265    with parameter declarations
266      i: signed int
267    with body
268      CompoundStmt
269
270fO5: auto function
271      accepting unspecified arguments
272    returning
273      const signed int
274    with parameter names
275      i
276    with parameter declarations
277      i: signed int
278    with body
279      CompoundStmt
280
281f: function
282    returning
283      nothing
284
285f: function
286    returning
287      signed int
288
289f: function
290    with parameters
291      signed int
292    returning
293      nothing
294
295f: function
296    with parameters
297      signed int
298    returning
299      signed int
300
301f: function
302    returning
303      nothing
304    with body
305      CompoundStmt
306
307f: function
308    returning
309      signed int
310    with body
311      CompoundStmt
312
313f: function
314    with parameters
315      signed int
316    returning
317      nothing
318    with body
319      CompoundStmt
320
321f: function
322    with parameters
323      signed int
324    returning
325      signed int
326    with body
327      CompoundStmt
328
329f: function
330    returning
331      x: signed int
332
333f: function
334    with parameters
335      x: signed int
336    returning
337      nothing
338
339f: function
340    with parameters
341      x: signed int
342    returning
343      x: signed int
344
345f: function
346    returning
347      x: signed int
348    with body
349      CompoundStmt
350
351f: function
352    with parameters
353      x: signed int
354    returning
355      nothing
356    with body
357      CompoundStmt
358
359f: function
360    with parameters
361      x: signed int
362    returning
363      x: signed int
364    with body
365      CompoundStmt
366
367f: function
368    returning
369      signed int
370      x: signed int
371
372f: function
373    with parameters
374      signed int
375      x: signed int
376    returning
377      nothing
378
379f: function
380    with parameters
381      signed int
382      x: signed int
383    returning
384      signed int
385      x: signed int
386
387f: function
388    returning
389      signed int
390      x: signed int
391    with body
392      CompoundStmt
393
394f: function
395    with parameters
396      signed int
397      x: signed int
398    returning
399      nothing
400    with body
401      CompoundStmt
402
403f: function
404    with parameters
405      signed int
406      x: signed int
407    returning
408      signed int
409      x: signed int
410    with body
411      CompoundStmt
412
413f: function
414    returning
415      signed int
416      x: signed int
417      signed int
418
419f: function
420    with parameters
421      signed int
422      x: signed int
423      signed int
424    returning
425      nothing
426
427f: function
428    with parameters
429      signed int
430      x: signed int
431      signed int
432    returning
433      signed int
434      x: signed int
435      signed int
436
437f: function
438    returning
439      signed int
440      x: signed int
441      signed int
442    with body
443      CompoundStmt
444
445f: function
446    with parameters
447      signed int
448      x: signed int
449      signed int
450    returning
451      nothing
452    with body
453      CompoundStmt
454
455f: function
456    with parameters
457      signed int
458      x: signed int
459      signed int
460    returning
461      signed int
462      x: signed int
463      signed int
464    with body
465      CompoundStmt
466
467f: function
468    returning
469      signed int
470      x: signed int
471      y: pointer to signed int
472
473f: function
474    with parameters
475      signed int
476      x: signed int
477      y: pointer to signed int
478    returning
479      nothing
480
481f: function
482    with parameters
483      signed int
484      x: signed int
485      y: pointer to signed int
486    returning
487      signed int
488      x: signed int
489      y: pointer to signed int
490
491f: function
492    returning
493      signed int
494      x: signed int
495      y: pointer to signed int
496    with body
497      CompoundStmt
498
499f: function
500    with parameters
501      signed int
502      x: signed int
503      y: pointer to signed int
504    returning
505      nothing
506    with body
507      CompoundStmt
508
509f: function
510    with parameters
511      signed int
512      x: signed int
513      y: pointer to signed int
514    returning
515      signed int
516      x: signed int
517      y: pointer to signed int
518    with body
519      CompoundStmt
520
521f11: function
522    with parameters
523      signed int
524    returning
525      signed int
526
527f12: function
528    with parameters
529      signed int
530    returning
531      signed int
532
533f: function
534    with parameters
535      function
536          with parameters
537            signed int
538            p: signed int
539          returning
540            signed int
541
542      function
543          with parameters
544            signed int
545          returning
546            signed int
547
548    returning
549      signed int
550    with body
551      CompoundStmt
552        Declaration of p: pointer to open array of array of pointer to open array of array of signed int with dimension of constant expression 3 signed int with dimension of constant expression 10 signed int
553        Declaration of p: pointer to open array of array of pointer to open array of array of signed int with dimension of constant expression 3 signed int with dimension of constant expression 10 signed int
554        Declaration of p: pointer to open array of pointer to function
555            with parameters
556              signed int
557            returning
558              signed int
559
560
561f1: static function
562      accepting unspecified arguments
563    returning
564      pointer to const signed int
565    with body
566      CompoundStmt
567
568f2: static function
569    returning
570      const signed int
571    with body
572      CompoundStmt
573
574f3: inline static function
575    returning
576      const pointer to signed int
577    with body
578      CompoundStmt
579
580f4: inline static function
581    returning
582      const tuple of types
583          pointer to signed int
584          signed int
585
586    with body
587      CompoundStmt
588
589f5: static function
590    returning
591      const tuple of types
592          pointer to signed int
593          const signed int
594
595    with body
596      CompoundStmt
597
598f: function
599    with parameters
600      function
601            accepting unspecified arguments
602          returning
603            signed int
604
605      function
606            accepting unspecified arguments
607          returning
608            pointer to signed int
609
610      function
611            accepting unspecified arguments
612          returning
613            pointer to pointer to signed int
614
615      function
616            accepting unspecified arguments
617          returning
618            pointer to const pointer to signed int
619
620      function
621            accepting unspecified arguments
622          returning
623            const pointer to const pointer to signed int
624
625      open array of signed int
626      array of signed int with dimension of constant expression 10 signed int
627      open array of pointer to signed int
628      array of pointer to signed int with dimension of constant expression 10 signed int
629      open array of pointer to pointer to signed int
630      array of pointer to pointer to signed int with dimension of constant expression 10 signed int
631      open array of pointer to const pointer to signed int
632      array of pointer to const pointer to signed int with dimension of constant expression 10 signed int
633      open array of const pointer to const pointer to signed int
634      array of const pointer to const pointer to signed int with dimension of constant expression 10 signed int
635    returning
636      signed int
637
638f: function
639    with parameters
640      function
641            accepting unspecified arguments
642          returning
643            signed int
644
645      function
646            accepting unspecified arguments
647          returning
648            pointer to signed int
649
650      function
651            accepting unspecified arguments
652          returning
653            pointer to pointer to signed int
654
655      function
656            accepting unspecified arguments
657          returning
658            pointer to const pointer to signed int
659
660      function
661            accepting unspecified arguments
662          returning
663            const pointer to const pointer to signed int
664
665      open array of signed int
666      array of signed int with dimension of constant expression 10 signed int
667      open array of pointer to signed int
668      array of pointer to signed int with dimension of constant expression 10 signed int
669      open array of pointer to pointer to signed int
670      array of pointer to pointer to signed int with dimension of constant expression 10 signed int
671      open array of pointer to const pointer to signed int
672      array of pointer to const pointer to signed int with dimension of constant expression 10 signed int
673      open array of const pointer to const pointer to signed int
674      array of const pointer to const pointer to signed int with dimension of constant expression 10 signed int
675    returning
676      signed int
677    with body
678      CompoundStmt
679
680T: typedef for signed int
681f: function
682    with parameters
683      f: pointer to instance of type T (not function type)
684      t: instance of type T (not function type)
685    returning
686      signed int
687    with body
688      CompoundStmt
689        Declaration of T: instance of type T (not function type)
690
Note: See TracBrowser for help on using the repository browser.