leo/compiler/tests/circuits/mut_variable_fail.leo
2020-12-01 15:37:44 -05:00

9 lines
92 B
Plaintext

circuit Foo {
a: u8,
}
function main() {
let f = Foo { a: 0u8 };
f.a = 1u8;
}