aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-21 20:08:34 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-21 20:08:34 -0400
commit618eade1e625f99364f1cde26e79d37eb1eb4040 (patch)
tree8c31a42b943ad013b483006a819e9fbe40424f2c /build.zig
parent55bede231b2e1069edaf8d73aa565d8382fcb2b4 (diff)
downloadziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.tar.gz
ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.tar.bz2
ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.tar.xz
ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.zip
add ex070 comptime 5
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 5610997..fa70eb3 100644
--- a/build.zig
+++ b/build.zig
@@ -348,6 +348,11 @@ const exercises = [_]Exercise{
.main_file = "069_comptime4.zig",
.output = "s1={ 1, 2, 3 }, s2={ 1, 2, 3, 4, 5 }, s3={ 1, 2, 3, 4, 5, 6, 7 }",
},
+ .{
+ .main_file = "070_comptime5.zig",
+ .output = "\"Quack.\" ducky1: true, \"Squeek!\" ducky2: true, ducky3: false",
+ .hint = "Have you kept the wizard hat on?",
+ },
};
/// Check the zig version to make sure it can compile the examples properly.