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