]> andersk Git - splint.git/blame - test/simplebufferConstraintTests/m.c
Committed my changes (but there are several splintme errors currently).
[splint.git] / test / simplebufferConstraintTests / m.c
CommitLineData
41320549 1extern /*@null@*/ /*@out@*/ /*@only@*/ void *mymalloc (size_t size) /*@*/
d9a28762 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 1.935923 seconds and 5 git commands to generate.