From 56a131d27a45af793b6adc0795bd240ed74d3634 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Sun, 4 Sep 2022 14:55:02 +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..3c7a494180 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' +// :109: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..c9c94442d0 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' +// :109: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..5860c9c0f6 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' +// :109:9: error: struct 'tmp.tmp' has no member named 'main' // :7:1: note: struct declared here