source: tests/raii/.expect/ctor-autogen-ERR1.oast.txt @ 191702d

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 191702d was 191702d, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

fix test ctor-autogen-ERR1 for new ast

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[b9afb1e]1raii/ctor-autogen.cfa:102:1 error: Unique best alternative includes deleted identifier in Generated Cast of:
[0a75b77]2  Application of
3    Deleted Expression
4      Variable Expression: ?{}: static inline function
5      ... with parameters
[107b01a]6        _dst: reference to instance of struct Managed with body 1
[0a75b77]7        x: signed int
[107b01a]8      ... returning nothing
[b93a3de]9
[0a75b77]10      ... deleted by: ?{}: function
11      ... with parameters
[107b01a]12        m: reference to instance of struct Managed with body 1
13      ... returning nothing
14      ... with body
[0a75b77]15        CompoundStmt
16          Expression Statement:
17            Application of
18              Variable Expression: ?=?: function
19              ... with parameters
20                intrinsic reference to signed int
21                intrinsic signed int
[107b01a]22              ... returning
[0a75b77]23                _retval__operator_assign: signed int
[107b01a]24                ... with attributes:
[0a75b77]25                  Attribute with name: unused
26
27
28            ... to arguments
[b9afb1e]29              Generated Cast of:
[107b01a]30                Member Expression, with field:
[0a75b77]31                  x: signed int
[107b01a]32                ... from aggregate:
[b9afb1e]33                  Generated Cast of:
[107b01a]34                    Variable Expression: m: reference to instance of struct Managed with body 1
[0a75b77]35                  ... to:
[107b01a]36                    instance of struct Managed with body 1
[0a75b77]37              ... to:
38                reference to signed int
[b9afb1e]39              Generated Cast of:
[0a75b77]40                constant expression (0 0: zero_t)
41              ... to:
42                signed int
43
44            ... with environment:
45              Types:
46              Non-types:
47
48
49  ... to arguments
[b9afb1e]50    Generated Cast of:
[107b01a]51      Variable Expression: x: instance of struct Managed with body 1
[0a75b77]52    ... to:
[107b01a]53      reference to instance of struct Managed with body 1
[0a75b77]54    constant expression (123 123: signed int)
55
56... to: nothing
Note: See TracBrowser for help on using the repository browser.