]> andersk Git - splint.git/blame - test/abstptr.expect
noexpand always false.
[splint.git] / test / abstptr.expect
CommitLineData
885824d3 1
2abstptr.c: (in function main)
3abstptr.c:13:3: Assignment of abst * to void *: vp = ap
4abstptr.c:14:3: Assignment of abst * to int *: ip = ap2
5abstptr.c:15:3: Assignment of int * to abst *: ap = ip
6abstptr.c:16:17: Cast from underlying abstract type abst *: (void *)ap
7abstptr.c:17:8: Dereference of null pointer ap: *ap
8 abstptr.c:15:8: Storage ap becomes null
9abstptr.c:19:16: Cast from underlying abstract type abst *: (void *)&a
10abstptr.c:20:16: Cast to underlying abstract type abst *: (abst *)&b
11abstptr.c:21:3: Assignment of int * to abst *: ap = &b
12abstptr.c:22:3: Assignment of int to abst: *ap = b
13
11db3170 14Finished checking --- 9 code warnings, as expected
885824d3 15
16abstptr.c: (in function main)
17abstptr.c:14:3: Assignment of abst * to int *: ip = ap2
18abstptr.c:15:3: Assignment of int * to abst *: ap = ip
19abstptr.c:17:8: Dereference of null pointer ap: *ap
20 abstptr.c:15:8: Storage ap becomes null
21abstptr.c:20:16: Cast to underlying abstract type abst *: (abst *)&b
22abstptr.c:21:3: Assignment of int * to abst *: ap = &b
23abstptr.c:22:3: Assignment of int to abst: *ap = b
24
11db3170 25Finished checking --- 6 code warnings, as expected
This page took 0.068705 seconds and 5 git commands to generate.