aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-02-28 18:36:38 -0500
committerDave Gauer <dave@ratfactor.com>2021-02-28 18:36:38 -0500
commit95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8 (patch)
tree9d23bc6cb49a6b475b1147b0dc83d3866a10aa51 /build.zig
parent2d205d9645b6c7947e3016fca98dfaf533d3f5e2 (diff)
downloadziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.tar.gz
ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.tar.bz2
ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.tar.xz
ziglings-95bdff5bfdf3c4300b844e14251cd3dcfcd76ef8.zip
Add ex 50 'no values' (help further address #25)
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index a116b0c..7892117 100644
--- a/build.zig
+++ b/build.zig
@@ -260,7 +260,10 @@ const exercises = [_]Exercise{
.output = "A B C Cv Bv Av",
.hint = "Now you're writting Zig!",
},
- // 50 null vs undefined
+ .{
+ .main_file = "50_no_value.zig",
+ .output = "That is not dead which can eternal lie / And with strange aeons even death may die.",
+ },
// 51 pass-by-value and const fn params
// 52 slices!
};