aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-string.json
blob: 35245a30e6e5bd2c4a517986313137cd911457dd (plain)
1
2
3
4
5
6
7
# FIXME: we should reject anonymous unions with multiple string-like branches
{ 'enum': 'Enum',
  'data': [ 'hello', 'world' ] }
{ 'union': 'MyUnion',
  'discriminator': {},
  'data': { 'one': 'str',
            'two': 'Enum' } }