source: src/Tests/Expect-e/Misc.txt @ 68cd1ce

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 68cd1ce 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.4 KB
Line 
1a: signed int
2b: signed int
3b: float
4g: function
5    with parameters
6      signed int
7    returning
8      nothing
9
10g: function
11    with parameters
12      unsigned int
13    returning
14      nothing
15
16f: function
17    returning
18      nothing
19    with body
20      CompoundStmt
21                  Expression Statement:
22            Application of
23              Variable Expression: g: function
24                  with parameters
25                    signed int
26                  returning
27                    nothing
28
29            to arguments
30                              Comma Expression:
31                  Variable Expression: a: signed int
32
33                  Variable Expression: b: signed int
34
35            with environment:
36              Types:
37              Non-types:
38
39                  Expression Statement:
40            Application of
41              Variable Expression: g: function
42                  with parameters
43                    signed int
44                  returning
45                    nothing
46
47            to arguments
48                              Comma Expression:
49                  Comma Expression:
50                    Variable Expression: a: signed int
51
52                    Variable Expression: a: signed int
53
54                  Variable Expression: b: signed int
55
56            with environment:
57              Types:
58              Non-types:
59
60                  Expression Statement:
61            Application of
62              Variable Expression: g: function
63                  with parameters
64                    unsigned int
65                  returning
66                    nothing
67
68            to arguments
69                              Sizeof Expression on:                   Variable Expression: a: signed int
70
71
72            with environment:
73              Types:
74              Non-types:
75
76                  Expression Statement:
77            Application of
78              Variable Expression: g: function
79                  with parameters
80                    unsigned int
81                  returning
82                    nothing
83
84            to arguments
85                              Sizeof Expression on: signed int
86
87            with environment:
88              Types:
89              Non-types:
90
91
92int __a__i;
93int __b__i;
94float __b__f;
95void __g__F_i_(int );
96void __g__F_Ui_(unsigned int );
97void __f__F__(void){
98    __g__F_i_((__a__i , __b__i));
99    __g__F_i_(((__a__i , __a__i) , __b__i));
100    __g__F_Ui_(sizeof(__a__i));
101    __g__F_Ui_(sizeof(int ));
102}
Note: See TracBrowser for help on using the repository browser.