leo/compiler/tests/circuits/inline_member_fail.leo

8 lines
88 B
Plaintext
Raw Normal View History

2021-02-05 00:18:28 +03:00
circuit Foo {
x: u8
}
function main() {
let y: u8 = 1;
let a = Foo { y };
}