aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_tests.cpp')
-rw-r--r--test/run_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp
index 168fc3566f..6711346a66 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -1203,7 +1203,7 @@ struct A { a : A, }
struct A { b : B, }
struct B { c : C, }
struct C { a : A, }
- )SOURCE", 1, ".tmp_source.zig:2:1: error: struct has infinite size");
+ )SOURCE", 1, ".tmp_source.zig:4:1: error: struct has infinite size");
add_compile_fail_case("invalid struct field", R"SOURCE(
struct A { x : i32, }