]> andersk Git - splint.git/blame - test/enum.expect
noexpand always false.
[splint.git] / test / enum.expect
CommitLineData
885824d3 1
2enum.c:2:16: Enumerator member cero declared with inconsistent type:
3 enum { cero, uno, dos, tres }
4 enum.lcl:2:16: Specification of cero: enum { cero, uno, dos }
5enum.c:2:22: Enumerator member uno declared with inconsistent type:
6 enum { cero, uno, dos, tres }
7 enum.lcl:2:22: Specification of uno: enum { cero, uno, dos }
8enum.c:2:27: Enumerator member dos declared with inconsistent type:
9 enum { cero, uno, dos, tres }
10 enum.lcl:2:27: Specification of dos: enum { cero, uno, dos }
11enum.c:2:39: Enum stype declared with members { cero, uno, dos, tres } but
12 specified with members { cero, uno, dos }
13 enum.lcl:2:33: Specification of stype
14enum.c:4:22: Enumerator member siete declared with inconsistent type:
15 enum _itag { siete }
16 enum.lcl:3:23: Specification of siete: enum _ietag { siete }
17enum.c:6:34: Structure st2 declared with fields { int a; int b; }, specified
18 with fields { int a; int b; int c; }
19 enum.lcl:6:41: Specification of st2
20 enum.lcl:7:1: Field present in specification, missing in declaration: int c
21enum.c: (in function f)
22enum.c:15:7: Value a[] used before definition
23enum.c:23:6: Missing cases in switch: two, three
24enum.c:30:12: Case in switch not mtype member: three
25enum.c:36:8: Missing case in switch: threem
26enum.c:38:10: Duplicate case in switch: one
27enum.c:47:2: Path with no return in function declared to return int
28enum.c:51:8: Enumerator member hasta declared with inconsistent type:
29 enum { hasta, pasta, yummy }
30 enum.lcl:8:8: Specification of hasta: enum { hasta, pasta, yasta }
31enum.c:51:15: Enumerator member pasta declared with inconsistent type:
32 enum { hasta, pasta, yummy }
33 enum.lcl:8:15: Specification of pasta: enum { hasta, pasta, yasta }
34enum.lcl:3:9: Enum tag enum _ietag specified but not defined
35enum.lcl:8:22: Enum member yasta specified but not defined
36
11db3170 37Finished checking --- 16 code warnings, as expected
885824d3 38
39enum.c:2:16: Enumerator member cero declared with inconsistent type:
40 enum { cero, uno, dos, tres }
41 enum.lcl:2:16: Specification of cero: enum { cero, uno, dos }
42enum.c:2:22: Enumerator member uno declared with inconsistent type:
43 enum { cero, uno, dos, tres }
44 enum.lcl:2:22: Specification of uno: enum { cero, uno, dos }
45enum.c:2:27: Enumerator member dos declared with inconsistent type:
46 enum { cero, uno, dos, tres }
47 enum.lcl:2:27: Specification of dos: enum { cero, uno, dos }
48enum.c:2:39: Enum stype declared with members { cero, uno, dos, tres } but
49 specified with members { cero, uno, dos }
50 enum.lcl:2:33: Specification of stype
51enum.c:4:22: Enumerator member siete declared with inconsistent type:
52 enum _itag { siete }
53 enum.lcl:3:23: Specification of siete: enum _ietag { siete }
54enum.c:6:34: Structure st2 declared with fields { int a; int b; }, specified
55 with fields { int a; int b; int c; }
56 enum.lcl:6:41: Specification of st2
57 enum.lcl:7:1: Field present in specification, missing in declaration: int c
58enum.c: (in function f)
59enum.c:15:7: Value a[] used before definition
60enum.c:30:12: Case in switch not mtype member: three
61enum.c:38:10: Duplicate case in switch: one
62enum.c:47:2: Path with no return in function declared to return int
63enum.c:51:8: Enumerator member hasta declared with inconsistent type:
64 enum { hasta, pasta, yummy }
65 enum.lcl:8:8: Specification of hasta: enum { hasta, pasta, yasta }
66enum.c:51:15: Enumerator member pasta declared with inconsistent type:
67 enum { hasta, pasta, yummy }
68 enum.lcl:8:15: Specification of pasta: enum { hasta, pasta, yasta }
69enum.lcl:3:9: Enum tag enum _ietag specified but not defined
70enum.lcl:8:22: Enum member yasta specified but not defined
71
11db3170 72Finished checking --- 14 code warnings, as expected
This page took 0.066493 seconds and 5 git commands to generate.