mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 03:04:13 +03:00
14 lines
219 B
Plaintext
14 lines
219 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
// Adding the `mut` keyword makes a variable mutable.
|
|
function main(y: bool) -> bool {
|
|
let a = 1u32;
|
|
a = 0;
|
|
|
|
return (a == 0u32) == y;
|
|
}
|