source: src/Tests/ResolvExpr/Expected/CastError.tst @ 09a9a8b

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 09a9a8b was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

licencing: seventh groups of files

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[51b7345]1Error: Can't choose between alternatives for expression Cast of:
2  Name: f
3
4to:
5  char
6Alternatives are:        Cost ( 1, 0, 0 ):         Cast of:
7          Variable Expression: f: a signed int
8
9        to:
10          char
11(types:
12            char
13)
14        Environment:
15
16        Cost ( 1, 0, 0 ):         Cast of:
17          Variable Expression: f: a double
18
19        to:
20          char
21(types:
22            char
23)
24        Environment:
25
26
27Error: Can't choose between alternatives for expression Cast of:
28  Name: f
29
30to:
31  pointer to function
32        accepting unspecified arguments
33      returning
34        signed int
35
36Alternatives are:        Cost ( 1, 0, 0 ):         Cast of:
37          Variable Expression: f: a function
38                accepting unspecified arguments
39              returning
40                nothing
41
42
43        to:
44          pointer to function
45                accepting unspecified arguments
46              returning
47                signed int
48
49(types:
50            pointer to function
51                  accepting unspecified arguments
52                returning
53                  signed int
54
55)
56        Environment:
57
58        Cost ( 1, 0, 0 ):         Cast of:
59          Variable Expression: f: a signed int
60
61        to:
62          pointer to function
63                accepting unspecified arguments
64              returning
65                signed int
66
67(types:
68            pointer to function
69                  accepting unspecified arguments
70                returning
71                  signed int
72
73)
74        Environment:
75
76        Cost ( 1, 0, 0 ):         Cast of:
77          Variable Expression: f: a double
78
79        to:
80          pointer to function
81                accepting unspecified arguments
82              returning
83                signed int
84
85(types:
86            pointer to function
87                  accepting unspecified arguments
88                returning
89                  signed int
90
91)
92        Environment:
93
94
Note: See TracBrowser for help on using the repository browser.