()
| 88 | |
| 89 | #[test] |
| 90 | fn 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] |
| 100 | fn ir_output_multiple_functions() { |
nothing calls this directly
no test coverage detected