aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct_llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-01 18:25:28 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-02-01 19:06:40 -0700
commit449554a7307731047fcd9c132386fdf405c3b237 (patch)
treec579c496ed162736b24930a17070c2544d4fc033 /test/behavior/struct_llvm.zig
parentf4a249325e8e3741a6294462ae37a79cb9089c56 (diff)
downloadzig-449554a7307731047fcd9c132386fdf405c3b237.tar.gz
zig-449554a7307731047fcd9c132386fdf405c3b237.zip
stage2: remove anytype fields from the language
closes #10705
Diffstat (limited to 'test/behavior/struct_llvm.zig')
-rw-r--r--test/behavior/struct_llvm.zig15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/behavior/struct_llvm.zig b/test/behavior/struct_llvm.zig
index 5aaefc8b38..eef7b16487 100644
--- a/test/behavior/struct_llvm.zig
+++ b/test/behavior/struct_llvm.zig
@@ -618,21 +618,6 @@ test "anonymous struct literal assigned to variable" {
try expect(vec.@"2" == 99);
}
-test "struct with var field" {
- if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO
-
- const Point = struct {
- x: anytype,
- y: anytype,
- };
- const pt = Point{
- .x = 1,
- .y = 2,
- };
- try expect(pt.x == 1);
- try expect(pt.y == 2);
-}
-
test "comptime struct field" {
if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO