mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +03:00
21 lines
217 B
Plaintext
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();
|
|
}
|