Print this page
new smatch
   1 #define bool _Bool
   2 
   3 bool bool_ior(int a, int b) { return a || b; }
   4 bool bool_and(int a, int b) { return a && b; }
   5 
   6 /*
   7  * check-name: bool-context
   8  * check-command: test-linearize -Wno-decl $file
   9  * check-output-ignore
  10  *
  11  * check-output-pattern-4-times: setne\\..* %arg[12]
  12  */
   1 #define bool _Bool
   2 
   3 bool bool_ior(int a, int b) { return a || b; }
   4 bool bool_and(int a, int b) { return a && b; }
   5 
   6 /*
   7  * check-name: bool-context
   8  * check-command: test-linearize -Wno-decl $file
   9  * check-output-ignore
  10  *
  11  * check-output-pattern(4): setne\\..* %arg[12]
  12  */