mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 16:43:07 +00:00
fix behavior test compile error
I bungled the commit 995c36dcb1a82c3ec9cbd0cd7bfbadd5c0abd10e during the merge. Sorry about that.
This commit is contained in:
parent
4c1007fc04
commit
0b99c83c21
@ -256,12 +256,12 @@ test "atomicrmw with ints" {
|
||||
|
||||
fn testAtomicRmwInts() !void {
|
||||
// TODO: Use the max atomic bit size for the target, maybe builtin?
|
||||
try testAtomicRmwInt(8);
|
||||
try testAtomicRmwInt(.unsigned, 8);
|
||||
|
||||
if (builtin.cpu.arch == .x86_64) {
|
||||
try testAtomicRmwInt(16);
|
||||
try testAtomicRmwInt(32);
|
||||
try testAtomicRmwInt(64);
|
||||
try testAtomicRmwInt(.unsigned, 16);
|
||||
try testAtomicRmwInt(.unsigned, 32);
|
||||
try testAtomicRmwInt(.unsigned, 64);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user