leo/asg/tests/pass/circuits/define_circuit_inside_circuit_function.leo

13 lines
149 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
circuit Foo {
a: u32,
}
circuit Bar {
function bar() {
let f = Foo { a: 0u32 };
}
}
function main() {
let b = Bar::bar();
}