Some consistency changes to library & headers flags.
[splint-patched.git] / test / staticarray.c
blob7e92d53f627f011c563c8d822d05aca345e5cab0
1 #include <stdio.h>
2 #include <stdlib.h>
4 char *foo1(void)
6 static char buf[1000];
8 strcpy(buf, "hello");
9 return buf;
12 /*@observer@*/ char *foo2(void)
14 static char buf[1000];
16 strcpy(buf, "hello");
17 return buf;
20 char *f (char outstr[])
22 return outstr;
25 char *g (char *outstr)
27 return outstr;