source: tests/warnings/.expect/self-assignment.oast.txt @ 4a359e2

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 4a359e2 was 53e28a7, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

Added new-ast version for self-assignment warning tests.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[17129659]1warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
[1feb535f]2  Variable Expression: j: signed int
3... to:
4  reference to signed int
[17129659]5warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
[107b01a]6  Variable Expression: s: instance of struct S with body 1
[1feb535f]7... to:
[107b01a]8  reference to instance of struct S with body 1
[17129659]9warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
[107b01a]10  Member Expression, with field:
[1feb535f]11    i: signed int
[107b01a]12  ... from aggregate:
13    Variable Expression: s: instance of struct S with body 1
[1feb535f]14... to:
15  reference to signed int
[17129659]16warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
[107b01a]17  Member Expression, with field:
[1feb535f]18    i: signed int
[107b01a]19  ... from aggregate:
20    Member Expression, with field:
21      s: instance of struct S with body 1
22    ... from aggregate:
23      Variable Expression: t: instance of struct T with body 1
[1feb535f]24... to:
25  reference to signed int
[66812dd]26warnings/self-assignment.cfa: In function '_X4mainFi___1':
27warnings/self-assignment.cfa:36:9: note: #pragma message: Compiled
Note: See TracBrowser for help on using the repository browser.