mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
add ex 55 unions
This commit is contained in:
6
patches/patches/55_unions.patch
Normal file
6
patches/patches/55_unions.patch
Normal file
@@ -0,0 +1,6 @@
|
||||
62,63c62,63
|
||||
< printInsect(ant, AntOrBee.c);
|
||||
< printInsect(bee, AntOrBee.c);
|
||||
---
|
||||
> printInsect(ant, AntOrBee.a);
|
||||
> printInsect(bee, AntOrBee.b);
|
||||
Reference in New Issue
Block a user