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