summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-03-09 20:04:43 -0500
committerDave Gauer <dave@ratfactor.com>2021-03-09 20:04:43 -0500
commit7b1c9c3b639f0638fa03dddb8b932298baef2f73 (patch)
tree7ce421be8c2cf4eba10c9ba8151188df89585bd1 /build.zig
parent784b66ffcf8b26ec0b9699ab06ee46c14cbf886e (diff)
add ex 55 unions
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 75fa9a9..35f00a1 100644
--- a/build.zig
+++ b/build.zig
@@ -280,6 +280,10 @@ const exercises = [_]Exercise{
.main_file = "54_manypointers.zig",
.output = "Memory is a resource.",
},
+ .{
+ .main_file = "55_unions.zig",
+ .output = "Insect report! Ant alive is: true. Bee visited 15 flowers.",
+ },
};
/// Check the zig version to make sure it can compile the examples properly.