mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
13 lines
306 B
Zig
13 lines
306 B
Zig
const print = @import("std").debug.print;
|
|
|
|
pub fn main() void {
|
|
// Comments in Zig start with "//" and end at the next LF byte (end of line).
|
|
// The line below is a comment and won't be executed.
|
|
|
|
//print("Hello?", .{});
|
|
|
|
print("Hello, world!\n", .{}); // another comment
|
|
}
|
|
|
|
// exe=succeed
|