code wiki / (root) / nx_fn_ptr_assign_test.nx

nx_fn_ptr_assign_test.nx

buildroot/runtime/nx_fn_ptr_assign_test.nx

1992 B56 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic fn
docsdependenciesstructsconstsfunctions

about

nx_fn_ptr_assign_test.nx -- exercise fn-address typed signature + assignment-compat check.

dependencies 1 imports · 0 importers

nx_kernel_v2.nx nx_fn_ptr_assign_test.nx

imports: nx_kernel_v2.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main t1_assign_match_2 t2_assign_match_3 t3_assign_match_0

structs

none

consts

none

functions

6func add2(a: nx_int, b: nx_int) -> nx_int { return a + b }
7func add3(a: nx_int, b: nx_int, c: nx_int) -> nx_int { return a + b + c }
8func add0() -> nx_int { return 7 }
11func t1_assign_match_2() -> nx_int
called by 1: main
19func t2_assign_match_3() -> nx_int
called by 1: main
27func t3_assign_match_0() -> nx_int
called by 1: main
34func main() -> nx_exit