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@…>, 14 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
Line 
1warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
2  Variable Expression: j: signed int
3... to:
4  reference to signed int
5warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
6  Variable Expression: s: instance of struct S with body 1
7... to:
8  reference to instance of struct S with body 1
9warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
10  Member Expression, with field:
11    i: signed int
12  ... from aggregate:
13    Variable Expression: s: instance of struct S with body 1
14... to:
15  reference to signed int
16warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
17  Member Expression, with field:
18    i: signed int
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
24... to:
25  reference to signed int
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.