zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e57fbe8069e672483b0c9ae1fa28c00812596306 (tree)
parent 241e1ac030432b309fcfebf2c3f0279875b2c5aa
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Tue, 30 Aug 2022 11:01:08 +0200

test-cases: fix compiler error locations for hello world with updates

Diffstat:
Mtest/cases/aarch64-macos/hello_world_with_updates.0.zig | 2+-
Mtest/cases/x86_64-linux/hello_world_with_updates.0.zig | 2+-
Mtest/cases/x86_64-macos/hello_world_with_updates.0.zig | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/cases/aarch64-macos/hello_world_with_updates.0.zig b/test/cases/aarch64-macos/hello_world_with_updates.0.zig @@ -2,5 +2,5 @@ // output_mode=Exe // target=aarch64-macos // -// :107:9: error: struct 'tmp.tmp' has no member named 'main' +// :105:9: error: struct 'tmp.tmp' has no member named 'main' // :7:1: note: struct declared here diff --git a/test/cases/x86_64-linux/hello_world_with_updates.0.zig b/test/cases/x86_64-linux/hello_world_with_updates.0.zig @@ -2,5 +2,5 @@ // output_mode=Exe // target=x86_64-linux // -// :107:9: error: struct 'tmp.tmp' has no member named 'main' +// :105:9: error: struct 'tmp.tmp' has no member named 'main' // :7:1: note: struct declared here diff --git a/test/cases/x86_64-macos/hello_world_with_updates.0.zig b/test/cases/x86_64-macos/hello_world_with_updates.0.zig @@ -2,5 +2,5 @@ // output_mode=Exe // target=x86_64-macos // -// :107:9: error: struct 'tmp.tmp' has no member named 'main' +// :105:9: error: struct 'tmp.tmp' has no member named 'main' // :7:1: note: struct declared here