code wiki / _hdl_build / nx_ev_bad.nx

nx_ev_bad.nx source

↩ module page · 7 lines · 246 B

1// nx_ev_bad.nx -- DELIBERATELY BROKEN fixture for nx_engineer_verify_gate (must NOT compile). 2// Proves the Engineer's verify catches a change that breaks the build (VERIFY-FAIL). 3func main() -> i64 { 4 let x: i64 = 1 5 x = 2 6 return x 7}