leo/compiler/tests/circuits/inline_member_fail.leo

8 lines
92 B
Plaintext
Raw Normal View History

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