]> andersk Git - splint.git/blob - test/decl.expect
cf21fbbf62ed4ec4ce57e12ecae29eb935ff2079
[splint.git] / test / decl.expect
1
2 decl.c: (in function main)
3 decl.c:7:3: Call to non-function (type [function (int) returns int] **): x
4 decl.c:8:2: Path with no return in function declared to return int
5
6 Finished checking --- 2 code warnings, as expected
7
8 decl.c:3:5: Function main declared without parameter list
9 decl.c: (in function main)
10 decl.c:7:3: Call to non-function (type [function (int) returns int] **): x
11 decl.c:8:2: Path with no return in function declared to return int
12 decl.c:1:5: Function test declared but not defined
13 decl.c:1:5: Function test exported but not declared in header file
14
15 Finished checking --- 5 code warnings, as expected
16
17 decl2.c:3:6: Variable glob2 defined with inconsistent type (arrays and pointers
18                 are not identical in variable declarations): int *
19    decl2.h:3:12: Previous declaration of glob2: int []
20 decl2.c:4:5: Variable glob2 redefined
21    decl2.c:3:6: Previous definition of glob2
22 decl2.c:6:6: Variable glob3 redeclared with inconsistent type: char
23    decl2.h:4:12: Previous declaration of glob3: int
24 decl2.c:9:5: Variable glob redefined
25    decl2.c:8:5: Previous definition of glob
26
27 Finished checking --- 4 code warnings, as expected
This page took 0.026487 seconds and 3 git commands to generate.