mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-26 16:37:30 +03:00
14 lines
155 B
Plaintext
14 lines
155 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
circuit Foo {
|
|
x: u32;
|
|
}
|
|
|
|
function main() {
|
|
// no member y in Foo
|
|
const a: Foo = Foo { y: 0u32 };
|
|
}
|