source: tests/.expect/castError.txt @ 553772b

ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 553772b was b9afb1e, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

update tests

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[b9afb1e]1castError.cfa:21:1 error: Cannot choose between 3 alternatives for expression
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:
[c2c6177]7     Variable Expression: f: function
8       accepting unspecified arguments
[08222c7]9     ... returning nothing
[c2c6177]10
[50377a4]11   ... to:
12     char
13 (types:
14   char
15 )
[08222c7]16 Environment:
[50377a4]17
[b9afb1e]18Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
[0e04f59]19     Variable Expression: f: double
[50377a4]20   ... to:
21     char
22 (types:
23   char
24 )
[08222c7]25 Environment:
[50377a4]26
[b9afb1e]27Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
[c2c6177]28     Variable Expression: f: signed int
[50377a4]29   ... to:
30     char
31 (types:
32   char
33 )
[08222c7]34 Environment:
[4efe4d1]35
36
[b9afb1e]37castError.cfa:26:1 error: Cannot choose between 2 alternatives for expression
38Generated Cast of:
39  Comma Expression:
40    constant expression (3 3: signed int)
41    Name: v
42... to: nothing Alternatives are:
43Cost ( 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
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:
52
53Cost ( 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
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:
62
63
Note: See TracBrowser for help on using the repository browser.