aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-invalid-data.json
blob: 395ba24d39514e926d02b7c722333869bb7c48e8 (plain)
1
2
3
4
5
6
# the union data type must be an object.
{ 'union': 'TestUnion',
  'base': 'int',
  'discriminator': 'int',
  'data': ['rubbish', 'nonsense']
}