mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
12 lines
169 B
Plaintext
12 lines
169 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
// Adding the `mut` keyword makes a variable mutable.
|
|
function main() {
|
|
let a = 1u32;
|
|
a = 0;
|
|
|
|
return a == 0u32;
|
|
} |