mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-18 23:02:35 +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;
|
|
}
|