source: src/Tests/Expect-a/Typedef.txt @ d0d9610

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 d0d9610 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.8 KB
Line 
1T: typedef for signed int
2f: function
3    with parameters
4      void
5    returning
6      void
7    with body
8      CompoundStmt
9        Declaration of T: function
10            with parameters
11              instance of type T (not function type)
12            returning
13              signed int
14
15                  Expression Statement:
16            Applying untyped:
17                Name: T
18            ...to:
19constant expression 3 signed int
20
21struct __anonymous0
22    with members
23      T: instance of type T (not function type)
24
25fred: instance of struct __anonymous0 with initializer
26  Compound initializer: 
27    Simple Initializer: constant expression 3 signed int
28a: typedef for pointer to function
29    with parameters
30      signed int
31      char
32    returning
33      signed int
34
35b: instance of type a (not function type)
36g: function
37    with parameters
38      void
39    returning
40      signed int
41    with body
42      CompoundStmt
43        Declaration of a: double
44
45c: instance of type a (not function type)
46x: typedef for type-of expression constant expression 3 signed int
47y: typedef for type-of expression constant expression 3 signed int
48p: instance of type x (not function type)
49q: instance of type y (not function type)
50main: C function
51      accepting unspecified arguments
52    returning
53      signed int
54    with body
55      CompoundStmt
56        Declaration of z: typedef for type-of expression constant expression 3 signed int
57        Declaration of p: typedef for type-of expression constant expression 3 signed int
58        Declaration of w: instance of type z (not function type)
59        Declaration of x: instance of type p (not function type)
60
61arrayOf10Pointers: typedef for array of pointer to signed int with dimension of constant expression 10 signed int
62array: instance of type arrayOf10Pointers (not function type)
63constantPointer: typedef for const pointer to signed int
64funcPtr: typedef for pointer to function
65    with parameters
66      open array of signed int
67    returning
68      signed int
69
70funcProto: typedef for function
71    with parameters
72      open array of signed int
73    returning
74      signed int
75
76tupleType: typedef for tuple of types
77    signed int
78    signed int
79
80tupleTypePtr: typedef for pointer to tuple of types
81    signed int
82    signed int
83
84a: typedef for pointer to signed int
85b: typedef for pointer to signed int
86f: typedef for function
87    with parameters
88      pointer to signed int
89    returning
90      signed int
91
92g: typedef for function
93    with parameters
94      pointer to signed int
95    returning
96      signed int
97
98t: typedef for tuple of types
99    pointer to static array of signed int with dimension of constant expression 10 signed int
100
101f: typedef for function
102    returning
103      x: pointer to static array of signed int with dimension of constant expression 10 signed int
104
Note: See TracBrowser for help on using the repository browser.