mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 07:32:26 +03:00
15 lines
189 B
Plaintext
15 lines
189 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
circuit Foo {
|
|
function bar() -> u32 {
|
|
return self.f;
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
const foo = Foo { };
|
|
const err = foo.bar();
|
|
} |