zig/test/link/wasm/extern/main.zig

9 lines
176 B
Zig
Raw Normal View History

const std = @import("std");
extern const foo: u32;
pub fn main() void {
const std_out = std.io.getStdOut();
std_out.writer().print("Result: {d}", .{foo}) catch {};
}