leo/compiler/tests/circuits/self_circuit.leo
2020-07-30 11:11:54 -07:00

9 lines
126 B
Plaintext

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