mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 15:15:47 +03:00
14 lines
150 B
Plaintext
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;
|
|
}
|