symbol.h: let is_ptr_type() take NULL pointers
[smatch.git] / validation / backend / logical-ops.c
blobec5b7c6dc458d1802b81382524c13dce20971485
1 static int and_bool(int x, int y)
3 return x && y;
6 static unsigned int uand_bool(unsigned int x, unsigned int y)
8 return x && y;
11 static int or_bool(int x, int y)
13 return x || y;
16 static unsigned int uor_bool(unsigned int x, unsigned int y)
18 return x || y;
22 * check-name: Logical operator code generation
23 * check-command: sparsec -c $file -o tmp.o