aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-02-20 11:25:19 +0200
committerVeikka Tuominen <git@vexu.eu>2022-02-20 11:59:49 +0200
commita5ac06268972bd7279a1bb928a40d70cc7d515ed (patch)
tree2773b5115c1633c303f9527bc4422fe2e68c0b74 /test
parenta2533e6fca0f28aa64717d8e4c13fe6a780b8b15 (diff)
downloadzig-a5ac06268972bd7279a1bb928a40d70cc7d515ed.tar.gz
zig-a5ac06268972bd7279a1bb928a40d70cc7d515ed.zip
stage2: make field/array base ptr work at comptime
Diffstat (limited to 'test')
-rw-r--r--test/behavior/struct.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index a3e8bbdab3..d059cccb60 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -1222,7 +1222,7 @@ test "anon init through error unions and optionals" {
};
try S.doTheTest();
- // comptime try S.doTheTest(); // TODO
+ comptime try S.doTheTest();
}
test "anon init through optional" {