mirror of
https://github.com/ziglang/zig.git
synced 2025-12-28 09:03:21 +00:00
As suggested in https://github.com/ziglang/zig/issues/9945#issuecomment-950114977 by @wizzard0. Fixes #9945.
12 lines
304 B
Zig
12 lines
304 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() anyerror!void {
|
|
// Note that info level log messages are by default printed only in Debug
|
|
// and ReleaseSafe build modes.
|
|
std.log.info("All your codebase are belong to us.", .{});
|
|
}
|
|
|
|
test "basic test" {
|
|
try std.testing.expectEqual(10, 3 + 7);
|
|
}
|