Changeset cd6a6ff for tests/warnings
- Timestamp:
- Dec 3, 2020, 10:44:40 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1db306a
- Parents:
- b37515b
- Location:
- tests/warnings/.expect
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/warnings/.expect/self-assignment.nast.txt
rb37515b rcd6a6ff 1 1 warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of: 2 2 Variable Expression: j: signed int 3 ... with resolved type: 4 signed int 3 5 ... to: 6 reference to signed int 7 ... with resolved type: 4 8 reference to signed int 5 9 warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of: 6 10 Variable Expression: s: instance of struct S with body 11 ... with resolved type: 12 instance of struct S with body 7 13 ... to: 14 reference to instance of struct S with body 15 ... with resolved type: 8 16 reference to instance of struct S with body 9 17 warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of: … … 12 20 ... from aggregate: 13 21 Variable Expression: s: instance of struct S with body 22 ... with resolved type: 23 instance of struct S with body 24 ... with resolved type: 25 signed int 14 26 ... to: 27 reference to signed int 28 ... with resolved type: 15 29 reference to signed int 16 30 warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of: … … 22 36 ... from aggregate: 23 37 Variable Expression: t: instance of struct T with body 38 ... with resolved type: 39 instance of struct T with body 40 ... with resolved type: 41 instance of struct S with body 42 ... with resolved type: 43 signed int 24 44 ... to: 45 reference to signed int 46 ... with resolved type: 25 47 reference to signed int 26 48 warnings/self-assignment.cfa: In function '_X4mainFi___1': -
tests/warnings/.expect/self-assignment.oast.txt
rb37515b rcd6a6ff 1 1 warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of: 2 2 Variable Expression: j: signed int 3 with resolved type: 4 signed int 3 5 ... to: 6 reference to signed int 7 with resolved type: 4 8 reference to signed int 5 9 warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of: 6 10 Variable Expression: s: instance of struct S with body 1 11 with resolved type: 12 instance of struct S with body 1 7 13 ... to: 14 reference to instance of struct S with body 1 15 with resolved type: 8 16 reference to instance of struct S with body 1 9 17 warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of: … … 12 20 ... from aggregate: 13 21 Variable Expression: s: instance of struct S with body 1 22 with resolved type: 23 instance of struct S with body 1 24 with resolved type: 25 signed int 14 26 ... to: 27 reference to signed int 28 with resolved type: 15 29 reference to signed int 16 30 warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of: … … 22 36 ... from aggregate: 23 37 Variable Expression: t: instance of struct T with body 1 38 with resolved type: 39 instance of struct T with body 1 40 with resolved type: 41 instance of struct S with body 1 42 with resolved type: 43 signed int 24 44 ... to: 45 reference to signed int 46 with resolved type: 25 47 reference to signed int 26 48 warnings/self-assignment.cfa: In function '_X4mainFi___1':
Note: See TracChangeset
for help on using the changeset viewer.