leo/tests/compiler/circuits/member_variable_fail.leo
2022-06-22 22:38:33 -10:00

14 lines
150 B
Plaintext

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