source: src/Tests/Expect-v/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: 3.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                    Applying untyped:
37                        Name: ?=?
38                    ...to:
39                        Address of:
40                          Member Expression, with field:
41                            b: signed int
42                          from aggregate:
43                            Applying untyped:
44                                Name: *?
45                            ...to:
46                                Variable Expression: _dst: pointer to instance of struct __anonymous0
47                        Member Expression, with field:
48                          b: signed int
49                        from aggregate:
50                          Variable Expression: _src: instance of struct __anonymous0
51
52                                  Return Statement, returning: Variable Expression: _src: instance of struct __anonymous0
53
54
55
56        Declaration of a: instance of struct __anonymous0
57                  If on condition:
58              Cast of:
59                Applying untyped:
60                    Name: ?!=?
61                ...to:
62                    Name: a
63                    Name: 0
64
65              to:
66                signed int
67          .... and branches:
68              CompoundStmt
69                                  While on condition:
70                      Cast of:
71                        Applying untyped:
72                            Name: ?!=?
73                        ...to:
74                            Name: a
75                            Name: 0
76
77                      to:
78                        signed int
79                  .... with body:
80                      CompoundStmt
81                        Declaration of b: pointer to signed int
82                                                  Labels: {}
83                          For Statement
84                            initialization:
85                              Expression Statement:
86                                Name: b
87
88                            condition:
89                              Cast of:
90                                Applying untyped:
91                                    Name: ?!=?
92                                ...to:
93                                    Name: a
94                                    Name: 0
95
96                              to:
97                                signed int
98
99                            increment:
100                              Name: b
101
102                            statement block:
103                              CompoundStmt
104
105
106
107
108
Note: See TracBrowser for help on using the repository browser.