1*3d0c4829SEric Blake# FIXME: we should reject a nested anonymous union branch 2*3d0c4829SEric Blake{ 'union': 'Union1', 3*3d0c4829SEric Blake 'discriminator': {}, 4*3d0c4829SEric Blake 'data': { 'name': 'str', 'value': 'int' } } 5*3d0c4829SEric Blake{ 'union': 'Union2', 6*3d0c4829SEric Blake 'discriminator': {}, 7*3d0c4829SEric Blake 'data': { 'nested': 'Union1' } } 8