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

Function test_exit_zero

tests/integration/vm_execution.rs:735–745  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

733#[test]
734fn hll_return_zero() {
735 let (_, outcome, _) = run_hll(
736 r#"
737main: () -> i32 {
738 return 0
739}
740"#,
741 );
742 assert!(
743 matches!(outcome, StepOutcome::Halted(0)),
744 "expected Halted(0), got {outcome:?}"
745 );
746}
747
748#[test]

Callers

nothing calls this directly

Calls 1

assemble_and_runFunction · 0.85

Tested by

no test coverage detected