#include "std/io.toc";
foo ::= fn() total := 0{
if "foo" || (1/0) {
total += 1;
}
if !"foo" && (1/0) {
total += 100;
}
if "foo" || "bar" && 0 {
total += 10;
}
if !"foo" || !"bar" {
total += 1000;
}
}
main ::= fn() {
a := foo();
b ::= foo();
puti(a);
puti(b);
}