code wiki / _hdl_build / nx_enident_probe.nx

nx_enident_probe.nx source

↩ module page · 10 lines · 429 B

1// nx_enident_probe.nx -- seq1337 isolation, probe 2. The `fn` probe BUILT FINE, disproving my first 2// root-cause. The gate rename touched TWO identifiers; this tests the other one, `en`, alone. 3// license_tier: ORIGINAL expect_exit: 0 No hw writes (Rule 26). 4import "nx_syscalls.nx" 5 6func main() -> i64 { 7 let en: i64 = 7 8 if en == 7 { sys_write(1, "ENIDENT-PROBE en-local-compiled ok\n" as *u8, 35) } 9 return 0 10}