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

Function asm_output_has_prologue

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

Source from the content-addressed store, hash-verified

121
122#[test]
123fn asm_output_has_prologue() {
124 let src = "f: () -> i32 { return 0 }";
125 let asm = hll_to_asm_text(src);
126 assert!(
127 asm.contains("addi") && asm.contains("sp"),
128 "assembly should have stack-pointer adjustment in prologue; got:\n{asm}"
129 );
130}
131
132#[test]
133fn asm_output_has_ret() {

Callers

nothing calls this directly

Calls 1

hll_to_asm_textFunction · 0.85

Tested by

no test coverage detected