leo/tests/compiler/circuits/self_circuit.leo
2021-04-19 18:08:14 -07:00

9 lines
129 B
Plaintext

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