diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-09 23:49:22 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-09 23:49:22 -0700 |
| commit | 1fe1235e14cd599c1b3a6f079670b7cb7ea270d2 (patch) | |
| tree | 87e7bf3db7b96ccf27d4e23591460b7b1c21a3a9 /test/run_tests.cpp | |
| parent | 6d9119fcd91cd01d658180d7fa5e4c8c203ba3db (diff) | |
| download | zig-1fe1235e14cd599c1b3a6f079670b7cb7ea270d2.tar.gz zig-1fe1235e14cd599c1b3a6f079670b7cb7ea270d2.zip | |
order-independent declarations
code constructs and traverses a dependency graph in a deterministic
order.
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 2 |
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, } |
