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

9 lines
126 B
Plaintext
Raw Normal View History

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