Commit e57fbe8069

Jakub Konka <kubkon@jakubkonka.com>
2022-08-30 11:01:08
test-cases: fix compiler error locations for hello world with updates
1 parent 241e1ac
Changed files (3)
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
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
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