leo/tests/compiler/circuits/member_static_function_nested.leo
2021-05-05 11:37:51 +03:00

21 lines
217 B
Plaintext

/*
namespace: Compile
expectation: Pass
*/
circuit Foo {
function qux() {}
function bar() {
Self::qux();
}
function baz() {
Self::bar();
}
}
function main() {
Foo::baz();
}