leo/tests/compiler/circuits/inline_member_fail.leo

14 lines
143 B
Plaintext
Raw Normal View History

2022-06-23 11:38:33 +03:00
/*
namespace: Compile
expectation: Fail
*/
circuit Foo {
x: u8;
}
function main() {
const y: u8 = 1;
const a: Foo = Foo { y };
}