]> andersk Git - splint.git/blame - test/tests2.2/boolops.c
Initial revision
[splint.git] / test / tests2.2 / boolops.c
CommitLineData
885824d3 1/*@-booltype Kzam@*/
2typedef int Kzam;
3
4enum { TRUE, FALSE } ;
5
6int main() {
7 Kzam b = TRUE;
8 Kzam b1 = b;
9
10 b = TRUE;
11 b = b1;
12 b = 12; /* Assignment of int to Kzam: b = 12 */
13
14 b = TRUE && FALSE;
15 b = b && FALSE;
16 b = FALSE && b;
17
18 if ((b && FALSE) == 0)
19 return(0);
20 return(0);
21}
This page took 0.154484 seconds and 5 git commands to generate.