Skip to content

Commit

Permalink
macho: write dummy comment into empty.c
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Jul 5, 2023
1 parent d19fc13 commit d400d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/macho.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d400d30

Please sign in to comment.