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

Function modulo_emits_rem_op

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

Source from the content-addressed store, hash-verified

505#[test]
506fn pointer_store_emits_store_instruction() {
507 let source = r#"main: () -> i32 {
508 ptr: i32* = new(i32)
509 @ptr = 99
510 val: i32 = @ptr
511 free(ptr)
512 return val
513}"#;
514 assert!(has_instruction(source, |i| matches!(
515 i,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected