aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/enum.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-02-28 19:54:13 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-28 23:20:05 +0100
commitcfbc3537ef0b3a73d5b8fdd358cf3bb831935861 (patch)
tree96c6e1654af9790a679722b4af7cbdcc93eff10c /test/behavior/enum.zig
parent66d28d0f20bda4c8653816e9f9179b6cc047506e (diff)
downloadzig-cfbc3537ef0b3a73d5b8fdd358cf3bb831935861.tar.gz
zig-cfbc3537ef0b3a73d5b8fdd358cf3bb831935861.zip
x64: pass more behavior tests
Diffstat (limited to 'test/behavior/enum.zig')
-rw-r--r--test/behavior/enum.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig
index 8b56503ec3..d47ec50f5d 100644
--- a/test/behavior/enum.zig
+++ b/test/behavior/enum.zig
@@ -616,7 +616,6 @@ fn testEnumWithSpecifiedTagValues(x: MultipleChoice) !void {
}
test "enum with specified tag values" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
@@ -625,7 +624,6 @@ test "enum with specified tag values" {
}
test "non-exhaustive enum" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
@@ -691,7 +689,6 @@ test "empty non-exhaustive enum" {
}
test "single field non-exhaustive enum" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
@@ -760,7 +757,6 @@ test "cast integer literal to enum" {
}
test "enum with specified and unspecified tag values" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
@@ -942,7 +938,6 @@ test "enum value allocation" {
}
test "enum literal casting to tagged union" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
@@ -968,7 +963,6 @@ test "enum literal casting to tagged union" {
const Bar = enum { A, B, C, D };
test "enum literal casting to error union with payload enum" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;