add ex 55 unions
This commit is contained in:
parent
0168afd250
commit
72ebf3e460
4 changed files with 87 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue