]> andersk Git - splint.git/blame - test/numabstract.expect
Pushed back constraintResolve.c to the previous version.
[splint.git] / test / numabstract.expect
CommitLineData
e5081f8c 1
2numabstract.c: (in function adding)
3numabstract.c:13:3: Assignment of char to apples: a2 = 'a'
4numabstract.c:14:3: Assignment of char to int: i = 'c'
5numabstract.c:15:17: Cast from literal to numabstract type apples: (apples)13
6numabstract.c:16:8: Incompatible types for + (apples, int): a + 5
7numabstract.c:17:3: Assignment of oranges to apples: a2 = o
8numabstract.c:19:3: Assignment of oranges to int: i = o
9numabstract.c:20:3: Assignment of apples to int: i = a2 + a
10numabstract.c:21:10: Operands of + are different numabstract types (apples,
11 oranges): a + o
16c024b5 12numabstract.c: (in function comparing)
13numabstract.c:26:7: Operands of < have incompatible types (apples, int): a < 3
14numabstract.c:30:7: Operands of < are different numabstract types (apples,
15 oranges): a < o
16numabstract.c:34:7: Operands of == are different numabstract types (apples,
17 oranges): a == o
e5081f8c 18
16c024b5 19Finished checking --- 11 code warnings, as expected
e5081f8c 20
21numabstract.c: (in function adding)
22numabstract.c:13:3: Assignment of char to apples: a2 = 'a'
23numabstract.c:14:3: Assignment of char to int: i = 'c'
24numabstract.c:15:17: Cast from literal to numabstract type apples: (apples)13
25numabstract.c:17:3: Assignment of oranges to apples: a2 = o
26numabstract.c:19:3: Assignment of oranges to int: i = o
27numabstract.c:20:3: Assignment of apples to int: i = a2 + a
28numabstract.c:21:10: Operands of + are different numabstract types (apples,
29 oranges): a + o
16c024b5 30numabstract.c: (in function comparing)
31numabstract.c:30:7: Operands of < are different numabstract types (apples,
32 oranges): a < o
33numabstract.c:34:7: Operands of == are different numabstract types (apples,
34 oranges): a == o
e5081f8c 35
16c024b5 36Finished checking --- 9 code warnings, as expected
e5081f8c 37
38numabstract.c: (in function adding)
39numabstract.c:13:3: Assignment of char to apples: a2 = 'a'
40numabstract.c:14:3: Assignment of char to int: i = 'c'
41numabstract.c:16:8: Incompatible types for + (apples, int): a + 5
42numabstract.c:17:3: Assignment of oranges to apples: a2 = o
43numabstract.c:19:3: Assignment of oranges to int: i = o
44numabstract.c:20:3: Assignment of apples to int: i = a2 + a
45numabstract.c:21:10: Operands of + are different numabstract types (apples,
46 oranges): a + o
16c024b5 47numabstract.c: (in function comparing)
48numabstract.c:26:7: Operands of < have incompatible types (apples, int): a < 3
49numabstract.c:30:7: Operands of < are different numabstract types (apples,
50 oranges): a < o
51numabstract.c:34:7: Operands of == are different numabstract types (apples,
52 oranges): a == o
e5081f8c 53
16c024b5 54Finished checking --- 10 code warnings, as expected
This page took 0.397837 seconds and 5 git commands to generate.