source: translator/Tests/Parser/Expected/Functions.tst @ 02e9ae2

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 02e9ae2 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

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