leo/compiler/otests/canonicalization/big_self_in_circuit_replacement.leo
2021-04-19 18:08:14 -07:00

15 lines
171 B
Plaintext

circuit Foo {
x: u32
function new() -> Self {
let new: Self = Self {
x: 1u32
};
return new;
}
}
function main() {
let foo: Foo = Foo::new();
}