aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/slice.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-08 22:09:41 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-02-08 22:09:41 -0700
commit59418d1bf6f82866a1c8f3b35fd815bb7add5129 (patch)
treeab4876e312c85234a158099b075b45fee1da0879 /test/behavior/slice.zig
parent470c8ca48c32d34da06e4741b8f81b6eb0d72fd7 (diff)
downloadzig-59418d1bf6f82866a1c8f3b35fd815bb7add5129.tar.gz
zig-59418d1bf6f82866a1c8f3b35fd815bb7add5129.zip
Sema: fix Value.intFitsInType for comptime int
Diffstat (limited to 'test/behavior/slice.zig')
-rw-r--r--test/behavior/slice.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig
index 4ec5f11817..902ba49a6f 100644
--- a/test/behavior/slice.zig
+++ b/test/behavior/slice.zig
@@ -245,8 +245,6 @@ test "C pointer slice access" {
}
test "comptime slices are disambiguated" {
- if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO
-
try expect(sliceSum(&[_]u8{ 1, 2 }) == 3);
try expect(sliceSum(&[_]u8{ 3, 4 }) == 7);
}