aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-10 16:08:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-10 17:52:18 -0700
commita30d283981ae31ed0212ef153f086e07daeffe65 (patch)
tree88be9a44382b0a79f42a74a3bb43781e6365fea7 /test
parentb642fa24a67f88082b768d39e443b03c7446be76 (diff)
downloadzig-a30d283981ae31ed0212ef153f086e07daeffe65.tar.gz
zig-a30d283981ae31ed0212ef153f086e07daeffe65.zip
AstGen: lower anon struct inits differently
This is a companion commit to f2a5d0bf94897554e25e889dc1c6c4c7fc6c1217. What that one did for tuples, this one does for anonymous structs.
Diffstat (limited to 'test')
-rw-r--r--test/behavior/tuple.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/tuple.zig b/test/behavior/tuple.zig
index ec148e07ec..db2816831d 100644
--- a/test/behavior/tuple.zig
+++ b/test/behavior/tuple.zig
@@ -110,8 +110,6 @@ test "pass tuple to comptime var parameter" {
}
test "tuple initializer for var" {
- if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO
-
const S = struct {
fn doTheTest() void {
const Bytes = struct {