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

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

update tests for attribute and semantic warnings

  • Property mode set to 100644
File size: 1.6 KB
Line 
1warnings/self-assignment.cfa:34:25: warning: Compiled
2warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
3  Variable Expression: j: signed int
4  ... with resolved type:
5    signed int
6... to:
7  reference to signed int
8... with resolved type:
9  reference to signed int.
10warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
11  Variable Expression: s: instance of struct S with body
12  ... with resolved type:
13    instance of struct S with body
14... to:
15  reference to instance of struct S with body
16... with resolved type:
17  reference to instance of struct S with body.
18warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
19  Member Expression, with field:
20    i: signed int
21  ... from aggregate:
22    Variable Expression: s: instance of struct S with body
23    ... with resolved type:
24      instance of struct S with body
25  ... with resolved type:
26    signed int
27... to:
28  reference to signed int
29... with resolved type:
30  reference to signed int.
31warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
32  Member Expression, with field:
33    i: signed int
34  ... from aggregate:
35    Member Expression, with field:
36      s: instance of struct S with body
37    ... from aggregate:
38      Variable Expression: t: instance of struct T with body
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
45... to:
46  reference to signed int
47... with resolved type:
48  reference to signed int.
Note: See TracBrowser for help on using the repository browser.