source: src/Tests/Expect-e/Cast.txt @ 01b8088d

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 01b8088d 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.0 KB
Line 
1f: char
2f: function
3      accepting unspecified arguments
4    returning
5      nothing
6    with body
7      CompoundStmt
8        Declaration of f: char
9        Declaration of f: double
10                  Expression Statement:
11            Cast of:
12              Variable Expression: f: char
13
14            to:
15              signed int
16            with environment:
17              Types:
18              Non-types:
19
20        Declaration of f: short signed int
21                  Expression Statement:
22            Cast of:
23              Variable Expression: f: short signed int
24
25            to:
26              signed int
27            with environment:
28              Types:
29              Non-types:
30
31                  Expression Statement:
32            Cast of:
33              Variable Expression: f: function
34                    accepting unspecified arguments
35                  returning
36                    nothing
37
38
39            to:
40              pointer to function
41                    accepting unspecified arguments
42                  returning
43                    nothing
44
45            with environment:
46              Types:
47              Non-types:
48
49                  Expression Statement:
50            Cast of:
51              Tuple:
52                                  Variable Expression: f: short signed int
53
54                                  Variable Expression: f: double
55
56                                  Variable Expression: f: function
57                        accepting unspecified arguments
58                      returning
59                        nothing
60
61
62
63            to:
64              long signed int
65              long double
66              pointer to function
67                    accepting unspecified arguments
68                  returning
69                    nothing
70
71            with environment:
72              Types:
73              Non-types:
74
75
76char __f__c;
77void __f__F__(){
78    char __f__c;
79    double __f__d;
80    ((int )__f__c);
81    short __f__s;
82    ((int )__f__s);
83    ((void (*)())__f__F__);
84    ((long int ));
85}
Note: See TracBrowser for help on using the repository browser.