aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.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/struct.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/struct.zig')
-rw-r--r--test/behavior/struct.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index a914ff946c..8e7aa59844 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -134,8 +134,6 @@ test "invoke static method in global scope" {
const empty_global_instance = StructWithNoFields{};
test "return empty struct instance" {
- if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
-
_ = returnEmptyStructInstance();
}
fn returnEmptyStructInstance() StructWithNoFields {
@@ -328,7 +326,6 @@ const VoidStructFieldsFoo = struct {
test "return empty struct from fn" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
_ = testReturnEmptyStructFromFn();
}