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

Function function_call_emits_call_instruction

tests/integration/ir_generation.rs:356–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 x: i32 = 1
355 if x == 1 {
356 x = 2
357 }
358 return x
359}"#;
360 compile_ok(source);
361}
362
363// -- Function call lowering ----------------------------------------------------
364
365#[test]
366fn function_call_emits_call_instruction() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected