mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-17 23:02:47 +03:00
14 lines
144 B
Plaintext
14 lines
144 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
circuit Foo {
|
|
function bar() {}
|
|
}
|
|
|
|
function main() {
|
|
let a = Foo { x: 1 };
|
|
a.bar = 0;
|
|
}
|