source: tests/raii/.expect/ctor-autogen-ERR1.nast.txt @ 08e75215

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 08e75215 was 3e5dd913, checked in by Fangren Yu <f37yu@…>, 4 years ago

reimplement function type and eliminate deep copy

  • Property mode set to 100644
File size: 2.9 KB
Line 
1raii/ctor-autogen.cfa:102:1 error: Unique best alternative includes deleted identifier in Generated Cast of:
2  Application of
3    Deleted Expression
4      Variable Expression: ?{}: static inline function
5      ... with parameters
6        reference to instance of struct Managed with body
7        signed int
8      ... returning nothing
9
10      ... with resolved type:
11        function
12        ... with parameters
13          reference to instance of struct Managed with body
14          signed int
15        ... returning nothing
16
17      ... deleted by: ?{}: function
18      ... with parameters
19        reference to instance of struct Managed with body
20      ... returning nothing
21 with body
22        Compound Statement:
23          Expression Statement:
24            Application of
25              Variable Expression: ?=?: function
26              ... with parameters
27                reference to signed int
28                signed int
29              ... returning
30                signed int
31
32              ... with resolved type:
33                pointer to function
34                ... with parameters
35                  reference to signed int
36                  signed int
37                ... returning
38                  signed int
39
40              ... to arguments
41              Generated Cast of:
42                Member Expression, with field:
43                  x: signed int
44                ... from aggregate:
45                  Generated Cast of:
46                    Variable Expression: m: reference to instance of struct Managed with body
47                    ... with resolved type:
48                      reference to instance of struct Managed with body
49                  ... to:
50                    instance of struct Managed with body
51                  ... with resolved type:
52                    instance of struct Managed with body
53                ... with resolved type:
54                  signed int
55              ... to:
56                reference to signed int
57              ... with resolved type:
58                reference to signed int
59              Generated Cast of:
60                Constant Expression (0: zero_t)
61                ... with resolved type:
62                  zero_t
63              ... to:
64                signed int
65              ... with resolved type:
66                signed int
67
68            ... with resolved type:
69              signed int
70            ... with environment:
71              Types:
72
73
74    ... to arguments
75    Generated Cast of:
76      Variable Expression: x: instance of struct Managed with body
77      ... with resolved type:
78        instance of struct Managed with body
79    ... to:
80      reference to instance of struct Managed with body
81    ... with resolved type:
82      reference to instance of struct Managed with body
83    Constant Expression (123: signed int)
84    ... with resolved type:
85      signed int
86
87  ... with resolved type:
88    void
89... to: nothing
90... with resolved type:
91  void
Note: See TracBrowser for help on using the repository browser.