Files
Ernie Pasveer 3a0aecd81e Add a ZIG test program.
The zig compiler is way behing on opensuse.
I tried building zig from source but encountered many compile errors.

I'll wait until opensuse is updated.
2024-10-12 10:54:33 -05:00

20 lines
359 B
Zig

const std = @import("std");
const print = std.debug.print;
const a: u8 = 1;
const b: u32 = 10;
const c: i64 = 100;
const d: isize = 1_000;
const e: u21 = 10_000;
const f: i42 = 100_000;
const g: comptime_int = 1_000_000;
const h = 10_000_000;
const i = '💯';
pub fn main() !void {
print("integer: {d}\n", .{i});
print("unicode: {u}\n", .{i});
}