add ex080 anonymous structs 1

This commit is contained in:
Dave Gauer
2021-05-09 13:24:25 -04:00
parent ac9a4dadfb
commit ae0dc2b282
3 changed files with 88 additions and 0 deletions

View File

@@ -396,6 +396,10 @@ const exercises = [_]Exercise{
.output = "Sweet freedom: 55, false.",
.hint = "Help us, Zig Programmer, you're our only hope!",
},
.{
.main_file = "080_anonymous_structs.zig",
.output = "[Circle(i32): 25,70,15] [Circle(f32): 25.2,71.0,15.7]",
},
};
/// Check the zig version to make sure it can compile the examples properly.