MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / ir_output_local_var_alloc

Function ir_output_local_var_alloc

tests/integration/cli_pipeline.rs:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89#[test]
90fn ir_output_local_var_alloc() {
91 let src = "f: () -> i32 { n: i32 = 99 return n }";
92 let ir = hll_to_ir_text(src);
93 assert!(
94 ir.contains("stack_alloc"),
95 "IR should contain stack_alloc for local variable; got:\n{ir}"
96 );
97}
98
99#[test]
100fn ir_output_multiple_functions() {

Callers

nothing calls this directly

Calls 1

hll_to_ir_textFunction · 0.85

Tested by

no test coverage detected