leo/tests/compiler/circuits/inline_member_fail.leo
2021-05-12 20:02:03 +03:00

14 lines
138 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
circuit Foo {
x: u8;
}
function main() {
const y: u8 = 1;
const a = Foo { y };
}