aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/slice.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-02-11 15:04:59 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-16 14:13:06 +0100
commitc7775a9f628a7fa971e85dec65e1400866ad012c (patch)
tree705334e82a02795cea34628feeeff10128a63327 /test/behavior/slice.zig
parent5283a52af565521094bcd1186efc179b4be7ee8c (diff)
downloadzig-c7775a9f628a7fa971e85dec65e1400866ad012c.tar.gz
zig-c7775a9f628a7fa971e85dec65e1400866ad012c.zip
x64: impl genBinMathOpMir for ptr_stack_off and PIE memory
Diffstat (limited to 'test/behavior/slice.zig')
-rw-r--r--test/behavior/slice.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig
index 4b73a3a140..e64e82d474 100644
--- a/test/behavior/slice.zig
+++ b/test/behavior/slice.zig
@@ -29,7 +29,6 @@ comptime {
test "slicing" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
var array: [20]i32 = undefined;
@@ -223,7 +222,6 @@ test "compile time slice of pointer to hard coded address" {
test "slice string literal has correct type" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
comptime {
try expect(@TypeOf("aoeu"[0..]) == *const [4:0]u8);
@@ -365,7 +363,6 @@ test "empty array to slice" {
test "@ptrCast slice to pointer" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const S = struct {
fn doTheTest() !void {