nx_rw_callarg.nx
buildroot/runtime/nx_rw_callarg.nx
about
nx_rw_callarg.nx -- TRAP WITNESS (pack-rules vet). Tactics under test: (a) a call nested inside
another call's argument g(h(z)); (b) a call inside an array-store RHS buf[i] = f(x) * 2. The
pack forbids both (hoist-first rule). Exit 0 iff BOTH compile and compute correctly.
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 7 | func rw_inc(x: i64) -> i64 { return x + 1 } called by 1: main |
| 9 | func rw_double(x: i64) -> i64 { return x * 2 } called by 1: main |
| 11 | func main(argc: i64, argv: *i64) -> i64 |