]> andersk Git - splint.git/blame - test/simplebufferConstraintTests/m.c
Changed to used /\ and requires instead of bufferConstraint
[splint.git] / test / simplebufferConstraintTests / m.c
CommitLineData
41320549 1extern /*@null@*/ /*@out@*/ /*@only@*/ void *mymalloc (size_t size) /*@*/
dcaf75ea 2 /*@ensures MaxSet(result) == (size - 1) @*/ ;
41320549 3
4void t()
5{
6char *f;
7
8f = mymalloc (3);
9f[2] = '2';
10free (f);
11}
This page took 0.281874 seconds and 5 git commands to generate.