source: tests/warnings/.expect/self-assignment.txt @ 0497b6ba

Last change on this file since 0497b6ba was 0497b6ba, checked in by Peter A. Buhr <pabuhr@…>, 3 days ago

update tests for attribute and semantic warnings

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[53692b3]1warnings/self-assignment.cfa:34:25: warning: Compiled
[17129659]2warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
[1feb535f]3  Variable Expression: j: signed int
[cd6a6ff]4  ... with resolved type:
5    signed int
[1feb535f]6... to:
7  reference to signed int
[cd6a6ff]8... with resolved type:
[0497b6ba]9  reference to signed int.
[17129659]10warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
[4a359e2]11  Variable Expression: s: instance of struct S with body
[cd6a6ff]12  ... with resolved type:
13    instance of struct S with body
[1feb535f]14... to:
[4a359e2]15  reference to instance of struct S with body
[cd6a6ff]16... with resolved type:
[0497b6ba]17  reference to instance of struct S with body.
[17129659]18warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
[107b01a]19  Member Expression, with field:
[1feb535f]20    i: signed int
[107b01a]21  ... from aggregate:
[4a359e2]22    Variable Expression: s: instance of struct S with body
[cd6a6ff]23    ... with resolved type:
24      instance of struct S with body
25  ... with resolved type:
26    signed int
[1feb535f]27... to:
28  reference to signed int
[cd6a6ff]29... with resolved type:
[0497b6ba]30  reference to signed int.
[17129659]31warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
[107b01a]32  Member Expression, with field:
[1feb535f]33    i: signed int
[107b01a]34  ... from aggregate:
35    Member Expression, with field:
[4a359e2]36      s: instance of struct S with body
[107b01a]37    ... from aggregate:
[4a359e2]38      Variable Expression: t: instance of struct T with body
[cd6a6ff]39      ... with resolved type:
40        instance of struct T with body
41    ... with resolved type:
42      instance of struct S with body
43  ... with resolved type:
44    signed int
[1feb535f]45... to:
46  reference to signed int
[cd6a6ff]47... with resolved type:
[0497b6ba]48  reference to signed int.
Note: See TracBrowser for help on using the repository browser.