mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
9 lines
211 B
Zig
9 lines
211 B
Zig
const std = @import("std");
|
|
|
|
extern const foo: u32;
|
|
|
|
pub fn main() void {
|
|
var stdout_writer = std.fs.File.stdout().writerStreaming(&.{});
|
|
stdout_writer.interface.print("Result: {d}", .{foo}) catch {};
|
|
}
|