# Code generation, simple if statements
var b: bool;

b = true;
if b then
   write 0;
else
   write 1;

b = !b;
if b then
   write 1;
else
   write 0;

