]> andersk Git - splint.git/blob - test/ud2.c
Fixes for win32
[splint.git] / test / ud2.c
1 void g (void)
2 {
3   char *x;
4   char **y;
5
6   f1(&x); 
7   printf("%s\n", x); 
8
9   f1(y); /* 1. Unallocated storage y passed as out parameter: y */
10   printf("%s\n", *y);
11 }
12
13 void h (void)
14 {
15   int z;
16   char *x;
17   char **y;
18
19   f3 (&z); /* okay! */
20   f2 (&x); /* 2. Value &x used before definition, */
21   printf ("%s\n", x);  
22
23   f2 (y);  /* 3. Variable y used before definition */
24 }
This page took 0.042476 seconds and 5 git commands to generate.