aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-string.json
blob: 72f04a820a9d281b7c5ec25c6c3e7a00c9b0fd95 (plain)
1
2
3
4
5
6
# we reject alternates with multiple string-like branches
{ 'enum': 'Enum',
  'data': [ 'hello', 'world' ] }
{ 'alternate': 'Alt',
  'data': { 'one': 'str',
            'two': 'Enum' } }