aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorDavid Rubin <daviru007@icloud.com>2024-05-25 22:52:26 -0700
committerDavid Rubin <daviru007@icloud.com>2024-06-13 02:22:33 -0700
commita270c6f8c82bc81eecf37cc06a326e46ed44fb8b (patch)
tree6ee1ab61e42d94d92eaeb62ee7b371d64de2e9a7 /test/behavior/struct.zig
parentd69c48370a0381c7dce463c68b2097dd8fa67eb7 (diff)
downloadzig-a270c6f8c82bc81eecf37cc06a326e46ed44fb8b.tar.gz
zig-a270c6f8c82bc81eecf37cc06a326e46ed44fb8b.zip
riscv: implement optional logic
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 44911378db..e27adafa79 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -1873,8 +1873,6 @@ test "initializer takes a pointer to a variable inside its struct" {
}
test "circular dependency through pointer field of a struct" {
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
-
const S = struct {
const StructInner = extern struct {
outer: StructOuter = std.mem.zeroes(StructOuter),
@@ -2151,7 +2149,6 @@ test "initiate global variable with runtime value" {
test "struct containing optional pointer to array of @This()" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
const S = struct {
x: ?*const [1]@This(),