aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/enum.zig
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-08-27 20:22:54 +0200
committerjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-09-09 19:17:17 +0200
commit261fec8036e1e5518951d91c5fc27b53c1a511d8 (patch)
tree03e2856039842234617a97d32233551c447e9795 /test/behavior/enum.zig
parente2b029e2c8ad761c32886d27aa0227655a60eb9e (diff)
downloadzig-261fec8036e1e5518951d91c5fc27b53c1a511d8.tar.gz
zig-261fec8036e1e5518951d91c5fc27b53c1a511d8.zip
stage2 ARM: amend implementation of various AIR instructions
- unwrap_errunion_err for registers - unwrap_errunion_payload for registers - ptr_slice_len_ptr for all MCValues - ptr_slice_ptr_ptr for all MCValues
Diffstat (limited to 'test/behavior/enum.zig')
-rw-r--r--test/behavior/enum.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig
index 28c8785e64..938c966d22 100644
--- a/test/behavior/enum.zig
+++ b/test/behavior/enum.zig
@@ -606,7 +606,6 @@ fn testEnumWithSpecifiedTagValues(x: MultipleChoice) !void {
}
test "enum with specified tag values" {
- if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
try testEnumWithSpecifiedTagValues(MultipleChoice.C);
@@ -614,7 +613,6 @@ test "enum with specified tag values" {
}
test "non-exhaustive enum" {
- if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
const S = struct {
@@ -677,7 +675,6 @@ test "empty non-exhaustive enum" {
}
test "single field non-exhaustive enum" {
- if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
const S = struct {
@@ -741,7 +738,6 @@ test "cast integer literal to enum" {
}
test "enum with specified and unspecified tag values" {
- if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
try testEnumWithSpecifiedAndUnspecifiedTagValues(MultipleChoice2.D);
@@ -925,7 +921,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_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
var bar: error{B}!Bar = undefined;