aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-11-30 16:29:11 +0200
committerVeikka Tuominen <git@vexu.eu>2022-11-30 17:11:06 +0200
commit11ec7109c3d882615c2d220a813100c7f193cc0a (patch)
treec1b91af2f32fc4f2de1e19414751c4489c2ea1ee /test/behavior/math.zig
parent15cc83e27ae8a1740d9b7e2ec14044903979a832 (diff)
downloadzig-11ec7109c3d882615c2d220a813100c7f193cc0a.tar.gz
zig-11ec7109c3d882615c2d220a813100c7f193cc0a.zip
cbe: do not memcpy identical integer types when bitcasting
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 0ef1bd759f..4b6b882fe5 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -357,8 +357,6 @@ fn comptimeAdd(comptime a: comptime_int, comptime b: comptime_int) comptime_int
}
test "binary not" {
- if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
-
try expect(comptime x: {
break :x ~@as(u16, 0b1010101010101010) == 0b0101010101010101;
});