leo/compiler/tests/circuits/member_function.leo

10 lines
136 B
Plaintext
Raw Normal View History

2020-05-20 07:59:00 +03:00
circuit Circ {
function echo(x: u32) -> u32 {
return x
}
}
function main() -> u32 {
let c = Circ { };
return c.echo(1u32)
}