behavior: import unintentionally excluded file from behavior.zig

And remove the now-invalid test for the return value of `@branchHint`.
This commit is contained in:
mlugg 2024-08-26 22:25:47 +01:00
parent f47f6d766e
commit 4c0f021c2e
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E
2 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,7 @@ test {
_ = @import("behavior/bitcast.zig");
_ = @import("behavior/bitreverse.zig");
_ = @import("behavior/bool.zig");
_ = @import("behavior/builtin_functions_returning_void_or_noreturn.zig");
_ = @import("behavior/byteswap.zig");
_ = @import("behavior/byval_arg_var.zig");
_ = @import("behavior/call.zig");

View File

@ -22,7 +22,6 @@ test {
try testing.expectEqual(noreturn, @TypeOf(if (true) @panic("") else {}));
try testing.expectEqual({}, @prefetch(&val, .{}));
try testing.expectEqual({}, @setAlignStack(16));
try testing.expectEqual({}, @branchHint(.cold));
try testing.expectEqual({}, @setEvalBranchQuota(0));
try testing.expectEqual({}, @setFloatMode(.optimized));
try testing.expectEqual({}, @setRuntimeSafety(true));