xref: /openbmc/qemu/tests/qapi-schema/alternate-nested.json (revision 3d0c48292633260269cb21551d9bab006b2f2781)
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