]> andersk Git - splint.git/blob - test/tests2.3.expect
noexpand always false.
[splint.git] / test / tests2.3.expect
1
2 pptest.c:26:21: Preprocessor command #else is not within a conditional
3 pptest.c:28:30: Unbalanced #endif
4 Preprocessing error for file: pptest.c
5 *** Cannot continue.
6
7 pptest.c:26:21: Preprocessor command #else is not within a conditional
8 pptest.c:28:30: Unbalanced #endif
9 Preprocessing error for file: pptest.c
10 *** Cannot continue.
11
12 pptest.c:26:21: Preprocessor command #else is not within a conditional
13 pptest.c:28:30: Unbalanced #endif
14 Preprocessing error for file: pptest.c
15 *** Cannot continue.
16
17 pptest.c:15:15: Parameter list for #define is not parseable
18 pptest.c:22:41: Division by zero in #if
19 pptest.c:26:21: Preprocessor command #else is not within a conditional
20 pptest.c:28:30: Unbalanced #endif
21 Preprocessing error for file: pptest.c
22 *** Cannot continue.
23
24 pptest2.c:1:21: invalid macro name
25 pptest2.c:1:21: Missing white space after #define 
26 pptest2.c:3:13: invalid macro name
27 pptest2.c:5:17: `defined' without an identifier
28 pptest2.c:5:24: Division by zero in #if
29 pptest2.c:5:25: mismatched parentheses in #if
30 pptest2.c:11:1: Macro XFIG already defined
31   pptest2.c:10: Previous definition of XFIG
32 pptest2.c:12:1: Macro XFIG already defined
33   pptest2.c:11: Previous definition of XFIG
34 Preprocessing error for file: pptest2.c
35 *** Cannot continue.
36
37 Finished LCLint checking --- no code errors found
38
39 fielduse.c:7:18: Field bit of unnamed structure declared but not used
40
41 Finished LCLint checking --- 1 code error found, as expected
42
43 Finished LCLint checking --- no code errors found
44
45 Finished LCLint checking --- no code errors found
46
47 Finished LCLint checking --- no code errors found
48
49 func.c: (in function x)
50 func.c:17:7: Call to non-function (type [function (void) returns int] **):
51                 (&pf)
52 func.c:23:7: Call to non-function (type [function (void) returns int] ***):
53                 (&ppf)
54 func.c:24:7: Call to non-function (type [function (void) returns int] **): ppf
55 func.c:29:7: Call to non-function (type [function (void) returns int] ****):
56                 (&pppf)
57 func.c:30:7: Call to non-function (type [function (void) returns int] ***):
58                 pppf
59 func.c:31:7: Call to non-function (type [function (void) returns int] **):
60                 (*pppf)
61 func.c:35:3: Invalid left-hand side of assignment (function type [function
62                 (void) returns int]): f
63 func.c:37:3: Assignment of [function (void) returns int] * to [function (void)
64                 returns int] **: ppf = pf
65 func.c:40:3: Assignment of [function (void) returns int] ** to [function (void)
66                 returns int] ***: pppf = ppf
67
68 Finished LCLint checking --- 9 code errors found, as expected
69 Command Line: Setting mode checks after setting mode flags will override set
70                  values of flags: exportlocal
71
72 func.c: (in function x)
73 func.c:13:9: Dereference of function type ([function (void) returns int]): *f
74 func.c:14:10: Dereference of function type ([function (void) returns int]): *f
75 func.c:14:9: Dereference of function type ([function (void) returns int]): **f
76 func.c:15:11: Dereference of function type ([function (void) returns int]): *f
77 func.c:15:10: Dereference of function type ([function (void) returns int]): **f
78 func.c:15:9: Dereference of function type ([function (void) returns int]): ***f
79 func.c:17:7: Call to non-function (type [function (void) returns int] **):
80                 (&pf)
81 func.c:20:9: Dereference of function type ([function (void) returns int]): **pf
82 func.c:21:10: Dereference of function type ([function (void) returns int]):
83                  **pf
84 func.c:21:9: Dereference of function type ([function (void) returns int]):
85                 ***pf
86 func.c:23:7: Call to non-function (type [function (void) returns int] ***):
87                 (&ppf)
88 func.c:24:7: Call to non-function (type [function (void) returns int] **): ppf
89 func.c:27:9: Dereference of function type ([function (void) returns int]):
90                 ***ppf
91 func.c:29:7: Call to non-function (type [function (void) returns int] ****):
92                 (&pppf)
93 func.c:30:7: Call to non-function (type [function (void) returns int] ***):
94                 pppf
95 func.c:31:7: Call to non-function (type [function (void) returns int] **):
96                 (*pppf)
97 func.c:35:3: Invalid left-hand side of assignment (function type [function
98                 (void) returns int]): f
99 func.c:37:3: Assignment of [function (void) returns int] * to [function (void)
100                 returns int] **: ppf = pf
101 func.c:40:3: Assignment of [function (void) returns int] ** to [function (void)
102                 returns int] ***: pppf = ppf
103 func.c:3:6: Function x exported but not declared in header file
104    func.c:43:1: Definition of x
105
106 Finished LCLint checking --- 20 code errors found, as expected
107
108 Finished LCLint checking --- no code errors found
109
110 unnamedstruct.c:10:7: Field name reused: x
111 unnamedstruct.c:5:9: Previous use of x
112
113 Finished LCLint checking --- 1 code error found, as expected
114
115 Finished LCLint checking --- no code errors found
116
117 Finished LCLint checking --- no code errors found
This page took 0.177038 seconds and 5 git commands to generate.