mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Fixes #7852 Before, the modified test would fail with: ``` error: lld-link: undefined symbol: wWinMain note: referenced by C:\Users\Ryan\Programming\Zig\zig-x86_64-windows-0.15.1\lib\libc\mingw\crt\crtexewin.c:66 note: libmingw32.lib(ucrtexewin.obj):(wmain) ```
5 lines
103 B
Zig
5 lines
103 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() void {
|
|
std.debug.print("hello from Zig main\n", .{});
|
|
}
|