source: src/Tests/Expect-v/Typedef.txt @ a73d57a

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 a73d57a 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.3 KB
Line 
1f: function
2    returning
3      nothing
4    with body
5      CompoundStmt
6        Declaration of T: function
7            with parameters
8              signed int
9            returning
10              signed int
11
12                  Expression Statement:
13            Applying untyped:
14                Name: T
15            ...to:
16constant expression 3 signed int
17
18struct __anonymous0
19    with members
20      T: signed int
21
22?=?: automatically generated inline static function
23    with parameters
24      _dst: pointer to instance of struct __anonymous0
25      _src: instance of struct __anonymous0
26    returning
27      instance of struct __anonymous0
28    with body
29      CompoundStmt
30                  Expression Statement:
31            Applying untyped:
32                Name: ?=?
33            ...to:
34                Address of:
35                  Member Expression, with field:
36                    T: signed int
37                  from aggregate:
38                    Applying untyped:
39                        Name: *?
40                    ...to:
41                        Variable Expression: _dst: pointer to instance of struct __anonymous0
42                Member Expression, with field:
43                  T: signed int
44                from aggregate:
45                  Variable Expression: _src: instance of struct __anonymous0
46
47                  Return Statement, returning: Variable Expression: _src: instance of struct __anonymous0
48
49
50
51fred: instance of struct __anonymous0 with initializer
52  Compound initializer: 
53    Simple Initializer: constant expression 3 signed int
54b: pointer to function
55    with parameters
56      signed int
57      char
58    returning
59      signed int
60
61g: function
62    returning
63      signed int
64    with body
65      CompoundStmt
66        Declaration of a: double
67
68c: pointer to function
69    with parameters
70      signed int
71      char
72    returning
73      signed int
74
75p: type-of expression constant expression 3 signed int
76q: type-of expression constant expression 3 signed int
77main: C function
78      accepting unspecified arguments
79    returning
80      signed int
81    with body
82      CompoundStmt
83        Declaration of w: type-of expression constant expression 3 signed int
84        Declaration of x: type-of expression constant expression 3 signed int
85
86array: array of pointer to signed int with dimension of constant expression 10 signed int
Note: See TracBrowser for help on using the repository browser.