source: tests/.expect/init1-ERROR.txt @ 10b5970

Last change on this file since 10b5970 was 2853d6f, checked in by Michael Brooks <mlbrooks@…>, 3 weeks ago

Remove uses of warnings to show test success. Eliminate simple causes of other warnings from affected tests and remove the result from WFLAG_OPT_LAX.

Many affected tests also formerly used -fsyntax-only to avoid errors at later compilation stages, or at runtime. Repair such tests to actually work though runtime, and remove them from SYNTAX_ONLY_CODE.

Group tests listed under WFLAGS_OPT according to why they should receive lax treatment. Add reason WFLGAS_OPT_LAX_EXPECT_WARN and give the original list reason WFLGAS_OPT_LAX_TO_INVESTIGATE.

Tests whose purpose is to show a warning are listed as both SYNTAX_ONLY_CODE (so that the warning is the output) and WFLGAS_OPT_LAX_EXPECT_WARN (to document this fact).

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