From 1fe1235e14cd599c1b3a6f079670b7cb7ea270d2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 9 Jan 2016 23:49:22 -0700 Subject: order-independent declarations code constructs and traverses a dependency graph in a deterministic order. --- test/run_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/run_tests.cpp') 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, } -- cgit v1.2.3