mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-28 20:14:11 +03:00
5 lines
105 B
Plaintext
5 lines
105 B
Plaintext
function main(s: bool, a: field, b: field, c: field) {
|
|
let r = if s ? a : b;
|
|
|
|
assert_eq!(r, c);
|
|
} |