// #30 VALUE-BEFORE-USE — the twin of ../modfn_coexist/main.ww with the // decl order flipped: `fn aa` is declared BEFORE `import aa`. cstage is // order-independent (installs every SK_USE in a first pass); wwstage // installs in source order, so this direction exercises a DISTINCT path // (installdecl's N_USE arm must set use_alias on the pre-installed value // sym). The gate asserts this builds + runs to 6 AND emits asm // byte-identical to the use-before-value order — silent order-dependence // is exactly what regresses. package main; fn aa() i32 = { return 1; }; import aa; export fn main() i32 = { return aa() + aa.helper(); };