authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-02 15:02:33-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-02 15:02:33-07:00
log0b99c83c21f9899cb7e8fb876caf0b005b5121c7
treef12c520b4ba3bca89d9eedae1456530572300a29
parent4c1007fc044689b8cbc20634d73debb43df8efe1

fix behavior test compile error

I bungled the commit 995c36dcb1a82c3ec9cbd0cd7bfbadd5c0abd10e during the merge. Sorry about that.

1 files changed, 4 insertions(+), 4 deletions(-)

test/behavior/atomics.zig+4-4
...@@ -256,12 +256,12 @@ test "atomicrmw with ints" {...@@ -256,12 +256,12 @@ test "atomicrmw with ints" {
256256
257fn testAtomicRmwInts() !void {257fn testAtomicRmwInts() !void {
258 // TODO: Use the max atomic bit size for the target, maybe builtin?258 // TODO: Use the max atomic bit size for the target, maybe builtin?
259 try testAtomicRmwInt(8);259 try testAtomicRmwInt(.unsigned, 8);
260260
261 if (builtin.cpu.arch == .x86_64) {261 if (builtin.cpu.arch == .x86_64) {
262 try testAtomicRmwInt(16);262 try testAtomicRmwInt(.unsigned, 16);
263 try testAtomicRmwInt(32);263 try testAtomicRmwInt(.unsigned, 32);
264 try testAtomicRmwInt(64);264 try testAtomicRmwInt(.unsigned, 64);
265 }265 }
266}266}
267267