source: src/Tests/Expect-r/CastError.txt@ f6d7e0f

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since f6d7e0f was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 10 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: 3.5 KB
Line 
1nameExpr is f
2decl is f: function
3 accepting unspecified arguments
4 returning
5 nothing
6 with body
7 CompoundStmt
8 Declaration of f: signed int
9 Declaration of f: double
10 Expression Statement:
11 Cast of:
12 Name: f
13
14 to:
15 char
16
17 Expression Statement:
18 Cast of:
19 Name: f
20
21 to:
22 pointer to function
23 accepting unspecified arguments
24 returning
25 signed int
26
27
28
29newExpr is Variable Expression: f: function
30 accepting unspecified arguments
31 returning
32 nothing
33
34
35decl is f: double
36newExpr is Variable Expression: f: double
37
38decl is f: signed int
39newExpr is Variable Expression: f: signed int
40
41alternatives before prune:
42Cost ( 0, 0, 0 ): Variable Expression: f: function
43 accepting unspecified arguments
44 returning
45 nothing
46
47(types:
48 pointer to function
49 accepting unspecified arguments
50 returning
51 nothing
52
53)
54Environment:
55
56Cost ( 0, 0, 0 ): Variable Expression: f: double
57(types:
58 lvalue double
59)
60Environment:
61
62Cost ( 0, 0, 0 ): Variable Expression: f: signed int
63(types:
64 lvalue signed int
65)
66Environment:
67
68there are 3 alternatives before elimination
69there are 3 alternatives after elimination
70alternatives before prune:
71Cost ( 1, 0, 0 ): Cast of:
72 Variable Expression: f: signed int
73
74to:
75 char
76(types:
77 char
78)
79Environment:
80
81Cost ( 1, 0, 0 ): Cast of:
82 Variable Expression: f: double
83
84to:
85 char
86(types:
87 char
88)
89Environment:
90
91marking ambiguous
92there are 1 alternatives before elimination
93nameExpr is f
94decl is f: function
95 accepting unspecified arguments
96 returning
97 nothing
98 with body
99 CompoundStmt
100 Declaration of f: signed int
101 Declaration of f: double
102 Expression Statement:
103 Cast of:
104 Name: f
105
106 to:
107 char
108
109 Expression Statement:
110 Cast of:
111 Name: f
112
113 to:
114 pointer to function
115 accepting unspecified arguments
116 returning
117 signed int
118
119
120
121newExpr is Variable Expression: f: function
122 accepting unspecified arguments
123 returning
124 nothing
125
126
127decl is f: double
128newExpr is Variable Expression: f: double
129
130decl is f: signed int
131newExpr is Variable Expression: f: signed int
132
133alternatives before prune:
134Cost ( 0, 0, 0 ): Variable Expression: f: function
135 accepting unspecified arguments
136 returning
137 nothing
138
139(types:
140 pointer to function
141 accepting unspecified arguments
142 returning
143 nothing
144
145)
146Environment:
147
148Cost ( 0, 0, 0 ): Variable Expression: f: double
149(types:
150 lvalue double
151)
152Environment:
153
154Cost ( 0, 0, 0 ): Variable Expression: f: signed int
155(types:
156 lvalue signed int
157)
158Environment:
159
160there are 3 alternatives before elimination
161there are 3 alternatives after elimination
162Error: Can't choose between alternatives for expression Cast of:
163 Name: f
164
165to:
166 char
167Alternatives are: Cost ( 1, 0, 0 ): Cast of:
168 Variable Expression: f: signed int
169
170 to:
171 char
172(types:
173 char
174)
175 Environment:
176
177 Cost ( 1, 0, 0 ): Cast of:
178 Variable Expression: f: double
179
180 to:
181 char
182(types:
183 char
184)
185 Environment:
186
187
188Error: No reasonable alternatives for expression Cast of:
189 Name: f
190
191to:
192 pointer to function
193 accepting unspecified arguments
194 returning
195 signed int
196
197
Note: See TracBrowser for help on using the repository browser.