()
| 111 | |
| 112 | #[test] |
| 113 | fn asm_output_contains_function_label() { |
| 114 | let src = "my_func: (x: i32) -> i32 { return x }"; |
| 115 | let asm = hll_to_asm_text(src); |
| 116 | assert!( |
| 117 | asm.contains("my_func:"), |
| 118 | "assembly should define 'my_func:' label; got:\n{asm}" |
| 119 | ); |
| 120 | } |
| 121 | |
| 122 | #[test] |
| 123 | fn asm_output_has_prologue() { |
nothing calls this directly
no test coverage detected