leo/tests/pass/parse/circuits/inline_member_fail.leo

8 lines
88 B
Plaintext
Raw Normal View History

2021-03-03 20:59:24 +03:00
circuit Foo {
x: u8
}
function main() {
let y: u8 = 1;
let a = Foo { y };
}