aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct_contains_null_ptr_itself.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behavior/struct_contains_null_ptr_itself.zig')
-rw-r--r--test/behavior/struct_contains_null_ptr_itself.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/struct_contains_null_ptr_itself.zig b/test/behavior/struct_contains_null_ptr_itself.zig
index 0e015aaf58..d60e04a91a 100644
--- a/test/behavior/struct_contains_null_ptr_itself.zig
+++ b/test/behavior/struct_contains_null_ptr_itself.zig
@@ -5,6 +5,8 @@ const builtin = @import("builtin");
test "struct contains null pointer which contains original struct" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
+
var x: ?*NodeLineComment = null;
try expect(x == null);
}