source: tests/.expect/castError.txt@ 8ccb0d4

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum stuck-waitfor-destruct
Last change on this file since 8ccb0d4 was 207c7330, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Updated expected output after removal of 'with resolved type'

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[1d17939]1castError.cfa:23:1 error: Cannot choose between 3 alternatives for expression
[b9afb1e]2Explicit Cast of:
[4efe4d1]3 Name: f
[50377a4]4... to:
[588c2b0]5 char Alternatives are:
[b9afb1e]6Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
[dd857bb]7 Variable Expression: f: function
8 accepting unspecified arguments
9 ... returning nothing
[c2c6177]10
[dd857bb]11 ... to:
12 char
13 (types:
14 char
15 )
16 Environment:
[50377a4]17
[b9afb1e]18Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
[dd857bb]19 Variable Expression: f: double
20 ... to:
21 char
22 (types:
23 char
24 )
25 Environment:
[50377a4]26
[b9afb1e]27Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
[dd857bb]28 Variable Expression: f: signed int
29 ... to:
30 char
31 (types:
32 char
33 )
34 Environment:
[4efe4d1]35
36
[1d17939]37castError.cfa:28:1 error: Cannot choose between 2 alternatives for expression
[b9afb1e]38Generated Cast of:
39 Comma Expression:
40 constant expression (3 3: signed int)
41 Name: v
[207c7330]42... to: nothing Alternatives are:
[b9afb1e]43Cost ( 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
[dd857bb]44 Comma Expression:
45 constant expression (3 3: signed int)
46 Variable Expression: v: unsigned char
47 ... to: nothing
48 (types:
49 void
50 )
51 Environment:
[b9afb1e]52
53Cost ( 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
[dd857bb]54 Comma Expression:
55 constant expression (3 3: signed int)
56 Variable Expression: v: signed short int
57 ... to: nothing
58 (types:
59 void
60 )
61 Environment:
[b9afb1e]62
63
[1d17939]64castError.cfa:30:1 error: No reasonable alternatives for expression Explicit Cast of:
65 Name: sint
66... to:
67 instance of struct S with body 1
68 ... with parameters
69 char
70
Note: See TracBrowser for help on using the repository browser.