aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/enum.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-11-10 09:36:45 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-11-10 09:36:45 +0100
commit0914e0a4ecabc1c9f4b4a8675955ab634065449e (patch)
tree45ef6d52f6385feaf867b38d03ecfe7162590639 /test/behavior/enum.zig
parent31e755df6f3ae7e7c5a1457ca69f2d2cfb0af415 (diff)
downloadzig-0914e0a4ecabc1c9f4b4a8675955ab634065449e.tar.gz
zig-0914e0a4ecabc1c9f4b4a8675955ab634065449e.zip
dwarf: do not assume unsigned 64bit integer for the enum value
Diffstat (limited to 'test/behavior/enum.zig')
-rw-r--r--test/behavior/enum.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig
index b00c7dbca2..a6e417f2ae 100644
--- a/test/behavior/enum.zig
+++ b/test/behavior/enum.zig
@@ -1146,8 +1146,6 @@ test "size of enum with only one tag which has explicit integer tag type" {
}
test "switch on an extern enum with negative value" {
- // TODO x86, wasm backends fail because they assume that enum tag types are unsigned
- if (@import("builtin").zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (@import("builtin").zig_backend == .stage2_wasm) return error.SkipZigTest;
const Foo = enum(c_int) {