code wiki / (root) / smoke_repro.nx

smoke_repro.nx

buildroot/runtime/smoke_repro.nx

838 B41 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

smoke_repro.nx -- minimal repro of codegen bug. Mirrors lex.nx's lex_ident_or_kw shape: alloc one struct, init fields, alloc another struct, init fields, while loop that reads struct fields. Should exit 7.

dependencies 1 imports · 0 importers

syscalls.nx smoke_repro.nx

imports: syscalls.nx

imported by: nobody (leaf or entry point)

structs

9struct S {

consts

none

functions

15func work(L: *S) -> i64 {
33func main() -> i64 {