source: src/Tests/Expect-v/Operators.txt @ eff0cad0

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 eff0cad0 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.6 KB
RevLine 
[b1d6dd5]1?*?: function
2    with parameters
3      signed int
4      signed int
5    returning
6      signed int
7
8?(): function
9    with parameters
10      number1: signed int
11      number2: signed int
12    returning
13      signed int
14    with body
15      CompoundStmt
16                  Return Statement, returning: Applying untyped:
17    Name: ?*?
18...to:
19    Name: number1
20    Name: number2
21
22
23
24?+?: function
25    with parameters
26      signed int
27      signed int
28    returning
29      signed int
30
31?=?: function
32    with parameters
33      pointer to signed int
34      signed int
35    returning
36      signed int
37
38struct accumulator
39    with members
40      total: signed int
41
42?=?: automatically generated inline static function
43    with parameters
44      _dst: pointer to instance of struct accumulator
45      _src: instance of struct accumulator
46    returning
47      instance of struct accumulator
48    with body
49      CompoundStmt
50                  Expression Statement:
51            Applying untyped:
52                Name: ?=?
53            ...to:
54                Address of:
55                  Member Expression, with field:
56                    total: signed int
57                  from aggregate:
58                    Applying untyped:
59                        Name: *?
60                    ...to:
61                        Variable Expression: _dst: pointer to instance of struct accumulator
62                Member Expression, with field:
63                  total: signed int
64                from aggregate:
65                  Variable Expression: _src: instance of struct accumulator
66
67                  Return Statement, returning: Variable Expression: _src: instance of struct accumulator
68
69
70
71?(): function
72    with parameters
73      a: instance of struct accumulator
74      number1: char
75      number2: char
76    returning
77      char
78
79f: function
80    returning
81      nothing
82    with body
83      CompoundStmt
84        Declaration of a: char
85        Declaration of b: char
86                  Expression Statement:
87            Applying untyped:
88                Name: ?()
89            ...to:
90                Name: a
91                Name: b
92
93                  Expression Statement:
94            Applying untyped:
95                Name: a
96            ...to:
97                Name: b
98
99                  Expression Statement:
100            Applying untyped:
101                Name: ?+?
102            ...to:
103                Name: a
104                Name: b
105
106        Declaration of ?+?: instance of struct accumulator
107                  Expression Statement:
108            Applying untyped:
109                Name: ?+?
110            ...to:
111                Name: a
112                Name: b
113
114
Note: See TracBrowser for help on using the repository browser.