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

Change-Id: I8ec55c7fcb84ac82bcea2cf5a0fe021103240b71