leo/asg/tests/pass/circuits/self_circuit.leo

9 lines
128 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
circuit Foo {
static function new() -> Self {
return Self { }
}
}
function main() {
const a = Foo::new();
2021-01-25 18:17:42 +03:00
}