diff options
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 1c6a78d81d..6457395e44 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -1317,7 +1317,7 @@ fn f() i32 => { const a = c"a"; a } - )SOURCE", 1, ".tmp_source.zig:2:15: error: expected type 'i32', got '&const u8'"); + )SOURCE", 1, ".tmp_source.zig:4:5: error: expected type 'i32', got '&const u8'"); add_compile_fail_case("if condition is bool, not int", R"SOURCE( fn f() => { |
