From d400d3065dd32d282aa226a9b6e041abc2c4ac59 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Wed, 5 Jul 2023 21:54:00 +0200 Subject: [PATCH] macho: write dummy comment into empty.c --- test/macho.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/macho.zig b/test/macho.zig index 9f808c53..8a9e4af2 100644 --- a/test/macho.zig +++ b/test/macho.zig @@ -113,7 +113,7 @@ fn testEmptyObject(b: *Build, opts: Options) *Step { const exe = cc(b, opts.zld_path); addSourcePath(exe.run, "test/macho/empty-object/main.c", "main.c"); - addSourceBytes(exe.run, "", "empty.c"); + addSourceBytes(exe.run, "// Empty translation unit", "empty.c"); const run = exec(b, exe.out); run.expectStdOutEqual("Hello!\n");