summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/enum-if-invalid.json
blob: 6bd20041f333e7e1d418fef0297567adb6107014 (plain) (blame)
1
2
3
# check invalid 'if' type
{ 'enum': 'TestIfEnum',
  'data': [ 'foo', { 'name' : 'bar', 'if': { 'val': 'foo' } } ] }