]> andersk Git - splint.git/blob - test/nullterminatedtest/test1.c
Added in test case files. (Merge should be complete now.)
[splint.git] / test / nullterminatedtest / test1.c
1 #include <stdio.h>
2
3 void fcn1 (/*@nullterminated@*/ char *e);
4
5 int main (){
6 /*@unused@*/ char c[];
7
8 char *d;
9
10  c[0] = '\0';
11 fcn1(c);
12 fcn1("hello");
13 fcn1(d);
14
15 return 0; 
16 }
This page took 0.039898 seconds and 5 git commands to generate.