aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 80e3c04f44..a7085a48af 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -1386,7 +1386,7 @@ fn f() {
}
)SOURCE", 1, ".tmp_source.zig:4:19: error: type 'i8' has same or fewer bits than destination type 'i8'");
- add_compile_fail_case("truncate same bit count", R"SOURCE(
+ add_compile_fail_case("%return in function with non error return type", R"SOURCE(
fn f() {
%return something();
}