// Extern data globals via ` : #foreign;`. Lets sx code // reference libSystem / framework symbols (NSConcreteStackBlock, // __stdinp, etc.) for FFI bridges. Mirrors the long-standing // ` :: (...) -> ... #foreign;` form on the function side. #import "modules/std.sx"; __stdinp : *void #foreign; main :: () -> s32 { addr_bits : u64 = xx @__stdinp; print("stdin extern global non-null: {}\n", addr_bits != 0); 0; }