leo/tests/compiler/structs/inline_fail.leo
2022-10-05 16:53:49 -07:00

16 lines
212 B
Plaintext

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