leo/compiler/tests/boolean/all.leo

8 lines
145 B
Plaintext
Raw Normal View History

// !(true && (false || true))
function main() -> bool {
2020-07-17 22:59:18 +03:00
const a = true;
const b = false || a;
const c = !(true && b);
2020-07-17 22:59:18 +03:00
return c
}