diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 80e3c04f446950c9a991455bc11978678e4476e0..a7085a48afcbcb5f2395f7713150887fe0ac4d90 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(); }