leo/compiler/tests/circuits/inline_member_fail.leo

8 lines
92 B
Plaintext

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