source: tests/warnings/.expect/self-assignment.txt @ 0a19c51

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 0a19c51 was 0a19c51, checked in by Thierry Delisle <tdelisle@…>, 16 months ago

Tests now compile with LC_ALL=en_US.ascii, to attempt to remove non-ascii characters in gcc outputs.
Test now compile with -fno-diagnostics-show-caret to reduce potential for differences across gcc versions

  • 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.