aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/empty_union.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-09-23 01:30:16 +0200
committerRobin Voetter <robin@voetter.nl>2023-10-15 20:08:18 +0200
commitfaad97edffb2fc9cda4885feb688f3ccec71c5db (patch)
treeed81336d6607cfd0ce67fbe8f61d633b2fcb04e7 /test/behavior/empty_union.zig
parent0552e504d061c428655536b82db3bda21d97ef3c (diff)
downloadzig-faad97edffb2fc9cda4885feb688f3ccec71c5db.tar.gz
zig-faad97edffb2fc9cda4885feb688f3ccec71c5db.zip
spirv: update failing / passing tests
Some tests are now failing due to debug info changes, some tests now pass due to improved compiler functionality.
Diffstat (limited to 'test/behavior/empty_union.zig')
-rw-r--r--test/behavior/empty_union.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behavior/empty_union.zig b/test/behavior/empty_union.zig
index 53408875ae..40bdd627f3 100644
--- a/test/behavior/empty_union.zig
+++ b/test/behavior/empty_union.zig
@@ -44,8 +44,6 @@ test "empty extern union" {
}
test "empty union passed as argument" {
- if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
-
const U = union(enum) {
fn f(u: @This()) void {
switch (u) {}
@@ -55,8 +53,6 @@ test "empty union passed as argument" {
}
test "empty enum passed as argument" {
- if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
-
const E = enum {
fn f(e: @This()) void {
switch (e) {}