source: src/Tests/Expect-a/Function.txt @ aadc9a4

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 aadc9a4 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: 2.2 KB
RevLine 
[b1d6dd5]1a: signed int
2a: float
3f: function
4    with parameters
5      signed int
6    returning
7      signed int
8
9f: function
10    with parameters
11      float
12    returning
13      float
14
15g: function
16      accepting unspecified arguments
17    returning
18      void
19    with body
20      CompoundStmt
21                  Expression Statement:
22            Applying untyped:
23                Name: f
24            ...to:
25                Cast of:
26                  Name: a
27
28                to:
29                  signed int
30
31                  Expression Statement:
32            Cast of:
33              Applying untyped:
34                  Name: f
35              ...to:
36                  Name: a
37
38            to:
39              signed int
40
41
42p: tuple of types
43    signed int
44
45p: tuple of types
46    signed int
47    double
48
49p: tuple of types
50    signed int
51    signed int
52    signed int
53
54p: tuple of types
55    signed int
56    signed int
57    signed int
58    signed int
59
60q: tuple of types
61    char
62
63q: tuple of types
64    signed int
65    signed int
66
67q: tuple of types
68    signed int
69    signed int
70    float
71
72q: tuple of types
73    signed int
74    signed int
75    signed int
76    signed int
77
78r: function
79    with parameters
80      signed int
81      signed int
82      signed int
83      signed int
84    returning
85      signed int
86      signed int
87
88s: function
89      accepting unspecified arguments
90    returning
91      void
92    with body
93      CompoundStmt
94                  Expression Statement:
95            Applying untyped:
96                Name: r
97            ...to:
98                Name: p
99                Name: q
100
101                  Expression Statement:
102            Applying untyped:
103                Name: r
104            ...to:
105                Tuple:
106                                      Name: q
107
108                                      Name: p
109
110
111                  Expression Statement:
112            Applying untyped:
113                Name: r
114            ...to:
115                Applying untyped:
116                    Name: r
117                ...to:
118                    Name: p
119                    Name: q
120                Applying untyped:
121                    Name: r
122                ...to:
123                    Name: q
124                    Name: q
125
126
Note: See TracBrowser for help on using the repository browser.