Don't try calling lsl when file is missing.
[splint-patched.git] / test / alias4.c
blobefcb4620e9a725ab4019bca5e99be84570c06f34
1 # include "alias4.lh"
3 mut f(mut a, mut b)
5 mut c;
7 if (1 == 3)
9 c = a;
11 else
13 c = b;
15 return c; /* 2 * bad: may reference parameter a, b */
18 int g (void)
20 return glob;
23 int *h (void)
25 if (1 > 3)
26 return &glob; /* returns ref to global glob */
27 else if (2 > 3)
28 return globp; /* return reference to global globp */
29 else if (3 > 3)
30 return (globs.field); /* returns reference to globs */
31 else
32 return (&(globs.val)); /* returns reference to globs */