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

Function asm_output_contains_function_label

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

Source from the content-addressed store, hash-verified

111
112#[test]
113fn 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]
123fn asm_output_has_prologue() {

Callers

nothing calls this directly

Calls 1

hll_to_asm_textFunction · 0.85

Tested by

no test coverage detected