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

Function ir_unary_not

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

Source from the content-addressed store, hash-verified

1999 "minmax(10,3) -> lo=3,hi=10 -> span=7, got {outcome:?}"
2000 );
2001}
2002
2003/// Two independent heap i32 allocations do not overlap.
2004#[test]
2005fn heap_two_i32_slots_independent() {
2006 let (_, outcome, _) = run_hll(
2007 r#"
2008external free: (p: i32*) -> void
2009
2010main: () -> i32 {
2011 p: i32* = new(i32)
2012 q: i32* = new(i32)
2013 @p = 100
2014 @q = 200
2015 vp: i32 = @p
2016 vq: i32 = @q
2017 free(p)
2018 free(q)
2019 if vp == 100 {
2020 if vq == 200 {
2021 return 0

Callers

nothing calls this directly

Calls 1

run_hllFunction · 0.70

Tested by

no test coverage detected