aboutsummaryrefslogtreecommitdiff
path: root/test/behavior
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-12-03 21:48:19 -0500
committerJacob Young <jacobly0@users.noreply.github.com>2022-12-03 21:58:18 -0500
commite3b8658e657118054fd57aa18aff281747f63ee8 (patch)
tree31b74583e93ce827d36b0149e20e1c1331c1ec71 /test/behavior
parent6d1292552e14a5678f069c1880adf04022951138 (diff)
downloadzig-e3b8658e657118054fd57aa18aff281747f63ee8.tar.gz
zig-e3b8658e657118054fd57aa18aff281747f63ee8.zip
cbe: add forward declarations for optionals and error unions
Arrays will have to wait for type rewrite.
Diffstat (limited to 'test/behavior')
-rw-r--r--test/behavior/bugs/3112.zig1
-rw-r--r--test/behavior/optional.zig1
2 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/bugs/3112.zig b/test/behavior/bugs/3112.zig
index 96c9249d67..91432325fd 100644
--- a/test/behavior/bugs/3112.zig
+++ b/test/behavior/bugs/3112.zig
@@ -14,7 +14,6 @@ fn prev(p: ?State) void {
test "zig test crash" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage1) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
var global: State = undefined;
global.enter = prev;
diff --git a/test/behavior/optional.zig b/test/behavior/optional.zig
index 9058f4e136..014d7e117d 100644
--- a/test/behavior/optional.zig
+++ b/test/behavior/optional.zig
@@ -184,7 +184,6 @@ test "nested orelse" {
}
test "self-referential struct through a slice of optional" {
- if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
const S = struct {