source: tests/.expect/init1-ERROR.txt @ ee858bf

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since ee858bf was ee858bf, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

add 0p test for function pointers, and seperate valid from error output

  • Property mode set to 100644
File size: 1.6 KB
Line 
1error: No reasonable alternatives for expression Untyped Init Expression
2  Name: rx  InitAlternative: reference to signed int
3error: No reasonable alternatives for expression Untyped Init Expression
4  Name: px  InitAlternative: pointer to signed int
5error: No reasonable alternatives for expression Untyped Init Expression
6  Name: crx  InitAlternative: reference to float
7error: No reasonable alternatives for expression Untyped Init Expression
8  Name: cpx  InitAlternative: pointer to float
9init1.cfa:100:1 error: No reasonable alternatives for expression Generated Cast of:
10  Name: rx
11... to:
12  reference to signed int
13init1.cfa:103:1 error: No reasonable alternatives for expression Applying untyped:
14  Name: ?{}
15...to:
16  Generated Cast of:
17    Variable Expression: _retval_f_py: pointer to signed int
18  ... to:
19    reference to pointer to signed int
20  Name: px
21
22init1.cfa:110:1 error: No reasonable alternatives for expression Generated Cast of:
23  Name: crx
24... to:
25  reference to float
26init1.cfa:113:1 error: No reasonable alternatives for expression Applying untyped:
27  Name: ?{}
28...to:
29  Generated Cast of:
30    Variable Expression: _retval_f_py2: pointer to float
31  ... to:
32    reference to pointer to float
33  Name: cpx
34
35init1.cfa:120:1 error: No reasonable alternatives for expression Generated Cast of:
36  Name: s
37... to:
38  reference to instance of type T (not function type)
39init1.cfa:124:1 error: No reasonable alternatives for expression Applying untyped:
40  Name: ?{}
41...to:
42  Generated Cast of:
43    Variable Expression: _retval_anycvt: pointer to instance of type T (not function type)
44  ... to:
45    reference to pointer to instance of type T (not function type)
46  Name: s
47
Note: See TracBrowser for help on using the repository browser.