add ex070 comptime 5

This commit is contained in:
Dave Gauer 2021-04-21 20:08:34 -04:00
parent 55bede231b
commit 618eade1e6
3 changed files with 146 additions and 0 deletions

View file

@ -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.