source: tests/.expect/init1-ERROR.nast.txt@ b51e389c

ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since b51e389c was 53692b3, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

second attempt to fix compile-only pragma message that gcc-10/11 quote

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[53692b3]1init1.cfa:134:25: warning: Compiled
[5c028ac]2init1.cfa:56:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
[ee858bf]3 Name: rx InitAlternative: reference to signed int
[5c028ac]4init1.cfa:57:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
[ee858bf]5 Name: px InitAlternative: pointer to signed int
[5c028ac]6init1.cfa:60:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
[ee858bf]7 Name: crx InitAlternative: reference to float
[5c028ac]8init1.cfa:61:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
[ee858bf]9 Name: cpx InitAlternative: pointer to float
[bb87dd0]10init1.cfa:104:1 error: Invalid application of existing declaration(s) in expression Generated Cast of:
[ee858bf]11 Name: rx
12... to:
13 reference to signed int
[cd6a6ff]14... with resolved type:
15 reference to signed int
[5c028ac]16init1.cfa:107:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
[ee858bf]17 Name: ?{}
18...to:
19 Generated Cast of:
20 Variable Expression: _retval_f_py: pointer to signed int
[cd6a6ff]21 ... with resolved type:
22 pointer to signed int
[ee858bf]23 ... to:
24 reference to pointer to signed int
[cd6a6ff]25 ... with resolved type:
26 reference to pointer to signed int
[ee858bf]27 Name: px
28
[bb87dd0]29init1.cfa:114:1 error: Invalid application of existing declaration(s) in expression Generated Cast of:
[ee858bf]30 Name: crx
31... to:
32 reference to float
[cd6a6ff]33... with resolved type:
34 reference to float
[5c028ac]35init1.cfa:117:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
[ee858bf]36 Name: ?{}
37...to:
38 Generated Cast of:
39 Variable Expression: _retval_f_py2: pointer to float
[cd6a6ff]40 ... with resolved type:
41 pointer to float
[ee858bf]42 ... to:
43 reference to pointer to float
[cd6a6ff]44 ... with resolved type:
45 reference to pointer to float
[ee858bf]46 Name: cpx
47
[bb87dd0]48init1.cfa:124:1 error: Invalid application of existing declaration(s) in expression Generated Cast of:
[ee858bf]49 Name: s
50... to:
51 reference to instance of type T (not function type)
[cd6a6ff]52... with resolved type:
53 reference to instance of type T (not function type)
[5c028ac]54init1.cfa:128:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
[ee858bf]55 Name: ?{}
56...to:
57 Generated Cast of:
58 Variable Expression: _retval_anycvt: pointer to instance of type T (not function type)
[cd6a6ff]59 ... with resolved type:
60 pointer to instance of type T (not function type)
[ee858bf]61 ... to:
62 reference to pointer to instance of type T (not function type)
[cd6a6ff]63 ... with resolved type:
64 reference to pointer to instance of type T (not function type)
[ee858bf]65 Name: s
66
Note: See TracBrowser for help on using the repository browser.