Don't try calling lsl when file is missing.
[splint-patched.git] / test / lintcomments.c
blob13d6f5f48491b2c8ea02c1957699c90520d69502
1 int f (int x)
3 int i = 0;
5 switch (x)
7 case 1: i++; /*@fallthrough@*/ /*FALLTHROUGH*/
8 case 2: i++; /*FALLTHROUGH*/
9 case 3: i++; /*FALLTHRU*/
10 case 4: i++;
11 default: i++;
14 if (i > 2)
16 return i;
17 /*@notreached@*/
18 i++;
20 else
22 return i;
23 /*NOTREACHED*/
24 i++;
27 /*@notreached@*/ return 3;