leo/tests/compiler/circuits/member_static_function_nested.leo

21 lines
217 B
Plaintext
Raw Normal View History

2021-05-05 11:37:51 +03:00
/*
namespace: Compile
expectation: Pass
*/
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();
2021-05-05 11:37:51 +03:00
}