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

Function asm_output_text_section

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

Source from the content-addressed store, hash-verified

141
142#[test]
143fn asm_output_text_section() {
144 let src = "f: () -> i32 { return 0 }";
145 let asm = hll_to_asm_text(src);
146 assert!(
147 asm.contains(".section .text") || asm.contains(".text"),
148 "assembly should have a .text section; got:\n{asm}"
149 );
150}
151
152// --- run tests ---
153

Callers

nothing calls this directly

Calls 1

hll_to_asm_textFunction · 0.85

Tested by

no test coverage detected