mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +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;
|
|
}
|