/* namespace: Compile expectation: Pass inputs: - func_circ.in: | [main] a: u32 = 100; [registers] r0: bool = false; */ circuit Foo { a: u32, } circuit Bar { function bar(a: u32) -> u32 { const f = Foo { a: a }; return f.a; } } function main(a: u32) -> bool { const b = Bar::bar(a); return a == b; }