leo/compiler/tests/circuits/self_circuit.leo

9 lines
128 B
Plaintext

circuit Foo {
static function new() -> Self {
return Self { }
}
}
function main() {
const a = Foo::new();
}