]> andersk Git - splint.git/blame - test/ud2.c
noexpand always false.
[splint.git] / test / ud2.c
CommitLineData
885824d3 1void 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
13void 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.128676 seconds and 5 git commands to generate.