source: src/Tests/Expect-e/Statement.txt @ b1d6dd5

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 b1d6dd5 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: 6.3 KB
Line 
1?=?: function
2    with parameters
3      pointer to signed int
4      signed int
5    returning
6      signed int
7
8?!=?: function
9    with parameters
10      signed int
11      signed int
12    returning
13      signed int
14
150: signed int
16f: function
17      accepting unspecified arguments
18    returning
19      nothing
20    with body
21      CompoundStmt
22        Declaration of a: signed int
23        Declaration of struct __anonymous0
24            with members
25              b: signed int
26
27        Declaration of ?=?: automatically generated inline function
28            with parameters
29              _dst: pointer to instance of struct __anonymous0
30              _src: instance of struct __anonymous0
31            returning
32              instance of struct __anonymous0
33            with body
34              CompoundStmt
35                                  Expression Statement:
36                    Application of
37                      Variable Expression: ?=?: function
38                          with parameters
39                            pointer to signed int
40                            signed int
41                          returning
42                            signed int
43
44                    to arguments
45                                              Address of:
46                          Member Expression, with field:
47                            b: signed int
48                          from aggregate:
49                            Applying untyped:
50                                Name: *?
51                            ...to:
52                                Variable Expression: _dst: pointer to instance of struct __anonymous0
53
54                                              Member Expression, with field:
55                          b: signed int
56                        from aggregate:
57                          Variable Expression: _src: instance of struct __anonymous0
58
59                    with environment:
60                      Types:
61                      Non-types:
62
63                                  Return Statement, returning: Cast of:
64  Variable Expression: _src: instance of struct __anonymous0
65
66to:
67  instance of struct __anonymous0
68with environment:
69  Types:
70  Non-types:
71
72
73
74        Declaration of a: instance of struct __anonymous0
75                  If on condition:
76              Cast of:
77                Application of
78                  Variable Expression: ?!=?: function
79                      with parameters
80                        signed int
81                        signed int
82                      returning
83                        signed int
84
85                to arguments
86                                      Variable Expression: a: signed int
87
88                                      Variable Expression: 0: signed int
89
90
91              to:
92                signed int
93              with environment:
94                Types:
95                Non-types:
96          .... and branches:
97              CompoundStmt
98                                  While on condition:
99                      Cast of:
100                        Application of
101                          Variable Expression: ?!=?: function
102                              with parameters
103                                signed int
104                                signed int
105                              returning
106                                signed int
107
108                        to arguments
109                                                      Variable Expression: a: signed int
110
111                                                      Variable Expression: 0: signed int
112
113
114                      to:
115                        signed int
116                      with environment:
117                        Types:
118                        Non-types:
119                  .... with body:
120                      CompoundStmt
121                        Declaration of b: pointer to signed int
122                                                  Labels: {}
123                          For Statement
124                            initialization:
125                              Expression Statement:
126                                Variable Expression: b: pointer to signed int
127                                with environment:
128                                  Types:
129                                  Non-types:
130
131                            condition:
132                              Cast of:
133                                Application of
134                                  Variable Expression: ?!=?: function
135                                      with parameters
136                                        signed int
137                                        signed int
138                                      returning
139                                        signed int
140
141                                to arguments
142                                                                      Variable Expression: a: signed int
143
144                                                                      Variable Expression: 0: signed int
145
146
147                              to:
148                                signed int
149                              with environment:
150                                Types:
151                                Non-types:
152
153                            increment:
154                              Variable Expression: b: pointer to signed int
155                              with environment:
156                                Types:
157                                Non-types:
158
159                            statement block:
160                              CompoundStmt
161
162
163
164
165
166int ___operator_assign__Fi_Pii_(int *, int );
167int ___operator_notequal__Fi_ii_(int , int );
168int ___constant_zero__i;
169void __f__F__(){
170    int __a__i;
171    struct __anonymous0
172    {
173        int __b__i;
174    };
175    inline struct __anonymous0 ___operator_assign__F13s__anonymous0_P13s__anonymous013s__anonymous0_(struct __anonymous0 *___dst__P13s__anonymous0, struct __anonymous0 ___src__13s__anonymous0){
176        ___operator_assign__Fi_Pii_((&(*___dst__P13s__anonymous0).__b__i), ___src__13s__anonymous0.__b__i);
177        return ___src__13s__anonymous0;
178    }
179    struct __anonymous0 __a__13s__anonymous0;
180    if (((int )___operator_notequal__Fi_ii_(__a__i, ___constant_zero__i))) {
181        while (((int )___operator_notequal__Fi_ii_(__a__i, ___constant_zero__i))) {
182            int *__b__Pi;
183            for (__b__Pi;((int )___operator_notequal__Fi_ii_(__a__i, ___constant_zero__i));__b__Pi) {
184            }
185
186        }       
187
188    }
189
190}
Note: See TracBrowser for help on using the repository browser.