]> andersk Git - splint.git/blame - test/postnotnull.c
noexpand always false.
[splint.git] / test / postnotnull.c
CommitLineData
68de3f33 1typedef struct {
2 char *x;
3} T;
4
5static void foo(/*@special@*/ T* x)
6 /*@defines x->x@*/
7 /*@post:notnull x->x@*/ ;
8
3e3ec469 9static void bar (/*@out@*/ T* x)
68de3f33 10 /*@post:notnull x->x@*/
11{
12 foo(x);
13}
14
15void test()
16{
17 T a;
18 foo(&a);
19 bar(&a);
20}
This page took 0.144189 seconds and 5 git commands to generate.