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

9 lines
129 B
Plaintext

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