diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-02-20 11:25:19 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-02-20 11:59:49 +0200 |
| commit | a5ac06268972bd7279a1bb928a40d70cc7d515ed (patch) | |
| tree | 2773b5115c1633c303f9527bc4422fe2e68c0b74 /test/behavior/struct.zig | |
| parent | a2533e6fca0f28aa64717d8e4c13fe6a780b8b15 (diff) | |
| download | zig-a5ac06268972bd7279a1bb928a40d70cc7d515ed.tar.gz zig-a5ac06268972bd7279a1bb928a40d70cc7d515ed.zip | |
stage2: make field/array base ptr work at comptime
Diffstat (limited to 'test/behavior/struct.zig')
| -rw-r--r-- | test/behavior/struct.zig | 2 |
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" { |
