leo/tests/compiler/circuits/inline_member_fail.leo

14 lines
138 B
Plaintext
Raw Normal View History

2021-05-05 11:37:51 +03:00
/*
namespace: Compile
expectation: Fail
*/
2021-02-05 00:18:28 +03:00
circuit Foo {
x: u8;
2021-02-05 00:18:28 +03:00
}
function main() {
const y: u8 = 1;
const a = Foo { y };
2021-05-05 11:37:51 +03:00
}