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

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 4a359e2 was 4a359e2, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Fixed expected output for new-ast self-assignment warning

  • 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
7... to:
8 reference to instance of struct S with body
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
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
22 ... from aggregate:
23 Variable Expression: t: instance of struct T with body
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.