feat: update tests

This commit is contained in:
2022-08-27 01:08:16 +08:00
parent d8477806f2
commit 3ca7c8897c
2 changed files with 7 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ Zig is a general-purpose programming language and toolchain for maintaining robu
<br><br> <br><br>
Run:
```
% zig run hello.zig
```
Build: Build:
``` ```

View File

@@ -1,6 +1,8 @@
const std = @import("std"); const std = @import("std");
const print = @import("std").debug.print;
pub fn main() void { pub fn main() void {
std.debug.print("Hello, world!\n", .{}); std.debug.print("Hello, world!\n", .{});
print("Hello, world!\n", .{});
} }