leo/compiler/tests/circuits/inline_member_fail.leo
2021-02-04 13:18:28 -08:00

8 lines
88 B
Plaintext

circuit Foo {
x: u8
}
function main() {
let y: u8 = 1;
let a = Foo { y };
}