1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-22 09:41:37 +03:00
leo/compiler/tests/circuits/define_circuit_inside_circuit_function.leo
2020-12-01 11:54:51 -05:00

13 lines
149 B
Plaintext

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