Some consistency changes to library & headers flags.
[splint-patched.git] / test / longint.c
blobc813615e876f843f3eae0c2d6909d3d18961226d
1 void f (void)
3 long int li1 = 3L;
4 int i1 = 7;
5 short int si1 = 3;
7 i1 = li1; /* error unless +longint */
8 li1 = i1; /* okay */
9 i1 = si1; /* okay */
10 si1 = i1; /* error unless +shortint */
12 li1 = si1;
13 si1 = li1; /* error unless +shortint +longint */