code wiki / (root) / nx_macro_v3_test.nx

nx_macro_v3_test.nx

buildroot/runtime/nx_macro_v3_test.nx

3024 B107 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic macro
docsdependenciesstructsconstsfunctions

about

nx_macro_v3_test.nx -- exercise @ifdef / @ifndef / @endif.

dependencies 1 imports · 0 importers

nx_kernel_v2.nx nx_macro_v3_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 test_fast_kept get_fast_path test_no_slow_kept get_no_slow_path test_nested_kept get_both_features

structs

none

consts

none

functions

13func get_fast_path() -> nx_int
called by 1: test_fast_kept
20func get_slow_path() -> nx_int
27func get_no_slow_path() -> nx_int
called by 1: test_no_slow_kept
34func ALSO_BROKEN_SHOULD_NOT_COMPILE() -> nx_int
68func test_fast_kept() -> nx_int
called by 1: main calls 1: get_fast_path
74func test_no_slow_kept() -> nx_int
called by 1: main calls 1: get_no_slow_path
80func test_nested_kept() -> nx_int
called by 1: main calls 1: get_both_features
86func main() -> nx_exit