Changeset cd6a6ff for tests/warnings


Ignore:
Timestamp:
Dec 3, 2020, 10:44:40 AM (19 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr
Children:
1db306a
Parents:
b37515b
Message:

Improved coverage of deterministic_output to be much finer grain.

Location:
tests/warnings/.expect
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/warnings/.expect/self-assignment.nast.txt

    rb37515b rcd6a6ff  
    11warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
    22  Variable Expression: j: signed int
     3  ... with resolved type:
     4    signed int
    35... to:
     6  reference to signed int
     7... with resolved type:
    48  reference to signed int
    59warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
    610  Variable Expression: s: instance of struct S with body
     11  ... with resolved type:
     12    instance of struct S with body
    713... to:
     14  reference to instance of struct S with body
     15... with resolved type:
    816  reference to instance of struct S with body
    917warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
     
    1220  ... from aggregate:
    1321    Variable Expression: s: instance of struct S with body
     22    ... with resolved type:
     23      instance of struct S with body
     24  ... with resolved type:
     25    signed int
    1426... to:
     27  reference to signed int
     28... with resolved type:
    1529  reference to signed int
    1630warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
     
    2236    ... from aggregate:
    2337      Variable Expression: t: instance of struct T with body
     38      ... with resolved type:
     39        instance of struct T with body
     40    ... with resolved type:
     41      instance of struct S with body
     42  ... with resolved type:
     43    signed int
    2444... to:
     45  reference to signed int
     46... with resolved type:
    2547  reference to signed int
    2648warnings/self-assignment.cfa: In function '_X4mainFi___1':
  • tests/warnings/.expect/self-assignment.oast.txt

    rb37515b rcd6a6ff  
    11warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
    22  Variable Expression: j: signed int
     3  with resolved type:
     4    signed int
    35... to:
     6  reference to signed int
     7with resolved type:
    48  reference to signed int
    59warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
    610  Variable Expression: s: instance of struct S with body 1
     11  with resolved type:
     12    instance of struct S with body 1
    713... to:
     14  reference to instance of struct S with body 1
     15with resolved type:
    816  reference to instance of struct S with body 1
    917warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
     
    1220  ... from aggregate:
    1321    Variable Expression: s: instance of struct S with body 1
     22    with resolved type:
     23      instance of struct S with body 1
     24  with resolved type:
     25    signed int
    1426... to:
     27  reference to signed int
     28with resolved type:
    1529  reference to signed int
    1630warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
     
    2236    ... from aggregate:
    2337      Variable Expression: t: instance of struct T with body 1
     38      with resolved type:
     39        instance of struct T with body 1
     40    with resolved type:
     41      instance of struct S with body 1
     42  with resolved type:
     43    signed int
    2444... to:
     45  reference to signed int
     46with resolved type:
    2547  reference to signed int
    2648warnings/self-assignment.cfa: In function '_X4mainFi___1':
Note: See TracChangeset for help on using the changeset viewer.