mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 15:41:36 +03:00
14 lines
145 B
Plaintext
14 lines
145 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
circuit Foo {
|
|
x: u32;
|
|
}
|
|
|
|
function main() {
|
|
const a = Foo { x: 1u32 };
|
|
const err = a.y;
|
|
}
|