summaryrefslogtreecommitdiffstatshomepage
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
commit9c095c60a41f1e43356ee80879436523cf4aa7ab (patch)
tree8c31a42b943ad013b483006a819e9fbe40424f2c /build.zig
parent0efd9340f024bbcc683fa8fb9cdebc6c5a5992b1 (diff)
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.