Add test for putting different types in a struct / union. am: 04e53a1ca2
am: 049439eb1f

Change-Id: I5552f0d8359f4fc95dd9e243e1cec39b8a9af7eb