leo/compiler/tests/circuits/member_static_function.leo
2020-07-16 20:47:47 -07:00

9 lines
125 B
Plaintext

circuit Foo {
static function echo(x: u32) -> u32 {
return x
}
}
function main() -> u32 {
return Foo::echo(1u32)
}