From 7b1c9c3b639f0638fa03dddb8b932298baef2f73 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Tue, 9 Mar 2021 20:04:43 -0500 Subject: add ex 55 unions --- patches/patches/55_unions.patch | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 patches/patches/55_unions.patch (limited to 'patches') diff --git a/patches/patches/55_unions.patch b/patches/patches/55_unions.patch new file mode 100644 index 0000000..c362f20 --- /dev/null +++ b/patches/patches/55_unions.patch @@ -0,0 +1,6 @@ +62,63c62,63 +< printInsect(ant, AntOrBee.c); +< printInsect(bee, AntOrBee.c); +--- +> printInsect(ant, AntOrBee.a); +> printInsect(bee, AntOrBee.b); -- cgit v1.2.3