// Two modules each `export fn ping` and each define a private // `helper` with the same leaf. Together with mod2 they pin three of // the four label-emit sites #9 touches: // - CALL N_DOT : main calls mod1.ping / mod2.ping // - CALL N_IDENT : ping bare-calls helper inside its own module // - LEAQ N_IDENT : fpi takes `helper` by value, then calls it // // The LEAQ N_DOT path (`let p = mod1.ping`) is intentionally not // exercised here — wwstage cgdot has no working LEAQ-of-fn N_DOT // branch, so a row would diverge across stages. fn helper() i32 = { return 11i32; }; fn fpi() i32 = { let h: fn() i32 = helper; return h(); }; export fn ping() i32 = { return 3i32 + helper() + fpi(); };