aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-09 18:58:56 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-09 18:58:56 -0400
commitc43e5480c6d3e084a6e375098564ae4edd900706 (patch)
treec823a22a4d181c3aff8c2c4ba11d089cad5cec69 /build.zig
parentc0bbbee1764513e3c31e586555e76fda2c3408bc (diff)
add ex082 anon structs 3
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 0a7b8b8..90d8a0b 100644
--- a/build.zig
+++ b/build.zig
@@ -404,6 +404,11 @@ const exercises = [_]Exercise{
.main_file = "081_anonymous_structs2.zig",
.output = "x:205 y:187 radius:12",
},
+ .{
+ .main_file = "082_anonymous_structs3.zig",
+ .output = "\"0\"(bool):true \"1\"(bool):false \"2\"(i32):42 \"3\"(f32):3.14159202e+00",
+ .hint = "This one is a challenge! But you have everything you need."
+ },
};
/// Check the zig version to make sure it can compile the examples properly.