mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 02:22:44 +03:00
24 lines
282 B
Plaintext
24 lines
282 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
circuit Foo {
|
|
function qux() {}
|
|
|
|
function bar() {
|
|
Self::qux();
|
|
}
|
|
|
|
function baz() {
|
|
Self::bar();
|
|
}
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
Foo::baz();
|
|
|
|
return y == true;
|
|
}
|