1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-21 09:11:39 +03:00
leo/compiler/tests/circuit/member_function.leo
2020-05-19 21:59:00 -07:00

10 lines
136 B
Plaintext

circuit Circ {
function echo(x: u32) -> u32 {
return x
}
}
function main() -> u32 {
let c = Circ { };
return c.echo(1u32)
}