mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
9 lines
233 B
Zig
9 lines
233 B
Zig
const std = @import("std");
|
|
|
|
extern const foo: u32;
|
|
|
|
pub fn main() void {
|
|
var stdout_writer = std.Io.File.stdout().writerStreaming(std.Options.debug_io, &.{});
|
|
stdout_writer.interface.print("Result: {d}", .{foo}) catch {};
|
|
}
|