leo/tests/old/pass/circuits/define_circuit_inside_circuit_function.leo
2021-04-12 13:15:39 -07:00

13 lines
153 B
Plaintext

circuit Foo {
a: u32,
}
circuit Bar {
function bar() {
const f = Foo { a: 0u32 };
}
}
function main() {
const b = Bar::bar();
}