source: src/Tests/SynTree/Expected/Initialization.tst @ 5f2f2d7

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 5f2f2d7 was 5f2f2d7, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

fix constant types, remove unnecessary string copying, work on regression testing, fix several memory leaks

  • Property mode set to 100644
File size: 2.3 KB
Line 
1x21: pointer to signed int with initializer
2  Simple Initializer:     Name: 0
3
4x22: signed int with initializer
5  Simple Initializer:     Name: 0
6
7x21: pointer to signed int with initializer
8  Simple Initializer:     Name: 0
9
10x22: signed int with initializer
11  Simple Initializer:     Name: 0
12
13y1: array of signed int with dimension of constant expression 20 signed int
14y2: array of signed int with dimension of constant expression 20 signed int
15struct __anonymous0
16    with members
17      w: tuple of types
18          signed int
19
20
21a: instance of struct __anonymous0 with initializer
22  Compound initializer: 
23    Simple Initializer:       Tuple:
24        constant expression 2 signed int
25
26      designated by:         Name: w
27
28struct __anonymous1
29    with members
30      a: array of signed int with dimension of constant expression 3 signed int
31      b: signed int
32
33w: open array of instance of struct __anonymous1 with initializer
34  Compound initializer: 
35    Compound initializer:        designated by: [        Name: 0
36        Name: a
37      ]
38      Simple Initializer:         Name: 1
39
40    Simple Initializer:       Name: 1
41
42      designated by:         Name: 0
43        Name: b
44
45    Simple Initializer: constant expression 2 signed int
46      designated by:         Name: 1
47        Name: a
48        Name: 0
49
50struct __anonymous3
51    with members
52      f1: signed int
53      f2: signed int
54      f3: signed int
55      struct __anonymous2
56          with members
57            g1: signed int
58            g2: signed int
59            g3: signed int
60
61      f4: array of instance of struct __anonymous2 with dimension of constant expression 4 signed int
62
63v7: instance of struct __anonymous3 with initializer
64  Compound initializer: 
65    Simple Initializer: constant expression 4 signed int
66      designated by:         Name: f1
67
68    Simple Initializer: constant expression 3 signed int
69      designated by:         Name: f2
70
71    Compound initializer:        designated by: [        Name: f4
72constant expression 2 signed int       ]
73      Simple Initializer: constant expression 3 signed int
74        designated by:           Name: g1
75
76      Simple Initializer:         Name: 0
77
78        designated by:           Name: g3
79
80    Simple Initializer: constant expression 7 signed int
81      designated by:         Name: f4
82constant expression 3 signed int         Name: g3
83
Note: See TracBrowser for help on using the repository browser.