leo/compiler/tests/circuits/member_static_function_nested.leo

15 lines
172 B
Plaintext
Raw Normal View History

2020-09-08 07:56:39 +03:00
circuit Foo {
2020-12-01 23:37:44 +03:00
function qux() {}
2020-09-08 07:56:39 +03:00
2020-12-01 23:37:44 +03:00
function bar() {
2020-09-08 07:56:39 +03:00
Self::qux();
}
2020-12-01 23:37:44 +03:00
function baz() {
2020-09-08 07:56:39 +03:00
Self::bar();
}
}
function main() {
Foo::baz();
}