zig/test/link/wasm/bss/lib2.zig
Luuk de Gram d0fb1ef962
wasm-link: update bss linker test
Updates the linker test to verify the various cases where we must
store the data in the bss segment.
2023-03-18 16:47:12 +01:00

6 lines
61 B
Zig

pub var bss: u32 = 0;
export fn foo() void {
_ = bss;
}