]> andersk Git - splint.git/blame - test/mergenull.c
noexpand always false.
[splint.git] / test / mergenull.c
CommitLineData
f2b6724f 1/*
2** Added 2001-12-29
3** Test for branchstate bug reported by Jon Wilson
4*/
5
6typedef /*@null@*/ struct s_foo *foo;
7
8struct s_foo {
9 foo p;
10} ;
11
12void f (foo a)
13{
14 while ( a != NULL ) {
15 foo temp = a->p ;
16 a->p = NULL ;
17 a = temp ;
18 }
19}
20
This page took 0.154636 seconds and 5 git commands to generate.