leo/compiler/tests/circuit/self.leo

9 lines
124 B
Plaintext

circuit Circ {
static function new() -> Self {
return Self { }
}
}
function main() -> Circ {
return Circ::new()
}