home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
tests2.2
/
boolops.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-03
|
296b
|
22 lines
/*@-booltype Kzam@*/
typedef int Kzam;
enum { TRUE, FALSE } ;
int main() {
Kzam b = TRUE;
Kzam b1 = b;
b = TRUE;
b = b1;
b = 12; /* Assignment of int to Kzam: b = 12 */
b = TRUE && FALSE;
b = b && FALSE;
b = FALSE && b;
if ((b && FALSE) == 0)
return(0);
return(0);
}