leo/tests/compiler/circuits/inline_fail.leo
2021-05-05 11:37:51 +03:00

14 lines
149 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
circuit Foo {
x: u32
}
function main() {
// no member y in Foo
const a = Foo { y: 0u32 };
}