summaryrefslogblamecommitdiffstats
path: root/tests/qapi-schema/enum-if-invalid.json
blob: 60bd0ef1d7142ae25f59f2308d19351f366e30e7 (plain) (tree)
1
2
3


                                                         
# check invalid 'if' type
{ 'enum': 'TestIfEnum', 'data':
  [ 'foo', { 'name' : 'bar', 'if': { 'val': 'foo' } } ] }