Changeset b9afb1e for tests


Ignore:
Timestamp:
Feb 19, 2019, 11:27:07 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
97e8d1e
Parents:
f8de4e4
Message:

update tests

Location:
tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/castError.txt

    rf8de4e4 rb9afb1e  
    1 castError.cfa:7:1 error: Cannot choose between 3 alternatives for expression
    2 Cast of:
     1castError.cfa:21:1 error: Cannot choose between 3 alternatives for expression
     2Explicit Cast of:
    33  Name: f
    44... to:
    55  char Alternatives are:
    6 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Cast of:
     6Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    77     Variable Expression: f: function
    88       accepting unspecified arguments
     
    1616 Environment:
    1717
    18 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Cast of:
     18Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    1919     Variable Expression: f: double
    2020   ... to:
     
    2525 Environment:
    2626
    27 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Cast of:
     27Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    2828     Variable Expression: f: signed int
    2929   ... to:
     
    3535
    3636
     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
  • tests/raii/.expect/ctor-autogen-ERR1.txt

    rf8de4e4 rb9afb1e  
    1 raii/ctor-autogen.cfa:102:1 error: Unique best alternative includes deleted identifier in Cast of:
     1raii/ctor-autogen.cfa:102:1 error: Unique best alternative includes deleted identifier in Generated Cast of:
    22  Application of
    33    Deleted Expression
     
    2727
    2828            ... to arguments
    29               Cast of:
     29              Generated Cast of:
    3030                Member Expression, with field:
    3131                  x: signed int
    3232                ... from aggregate:
    33                   Cast of:
     33                  Generated Cast of:
    3434                    Variable Expression: m: reference to instance of struct Managed with body 1
    3535                  ... to:
     
    3737              ... to:
    3838                reference to signed int
    39               Cast of:
     39              Generated Cast of:
    4040                constant expression (0 0: zero_t)
    4141              ... to:
     
    4848
    4949  ... to arguments
    50     Cast of:
     50    Generated Cast of:
    5151      Variable Expression: x: instance of struct Managed with body 1
    5252    ... to:
  • tests/warnings/.expect/self-assignment.txt

    rf8de4e4 rb9afb1e  
    1 warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Cast of:
     1warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
    22  Variable Expression: j: signed int
    33... to:
    44  reference to signed int
    5 warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Cast of:
     5warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
    66  Variable Expression: s: instance of struct S with body 1
    77... to:
    88  reference to instance of struct S with body 1
    9 warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Cast of:
     9warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
    1010  Member Expression, with field:
    1111    i: signed int
     
    1414... to:
    1515  reference to signed int
    16 warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Cast of:
     16warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
    1717  Member Expression, with field:
    1818    i: signed int
Note: See TracChangeset for help on using the changeset viewer.