From e57fbe8069e672483b0c9ae1fa28c00812596306 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Tue, 30 Aug 2022 11:01:08 +0200 Subject: [PATCH] test-cases: fix compiler error locations for hello world with updates --- test/cases/aarch64-macos/hello_world_with_updates.0.zig | 2 +- test/cases/x86_64-linux/hello_world_with_updates.0.zig | 2 +- test/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 index 0de742bdec..dc65cd8279 100644 --- 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 index 4816ec1b26..795f4f2991 100644 --- 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 index 998b2f13eb..9839371e31 100644 --- 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