Commit 270f9e24dd
Changed files (1)
src
src/AstGen.zig
@@ -4497,7 +4497,7 @@ fn testDecl(
.cc_gz = null,
.align_ref = .none,
.align_gz = null,
- .ret_ref = .void_type,
+ .ret_ref = .anyerror_void_error_union_type,
.ret_gz = null,
.section_ref = .none,
.section_gz = null,
@@ -4510,7 +4510,7 @@ fn testDecl(
.body_gz = &fn_block,
.lib_name = 0,
.is_var_args = false,
- .is_inferred_error = true,
+ .is_inferred_error = false,
.is_test = true,
.is_extern = false,
.is_noinline = false,