summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/bad-if.json
blob: 3edd1a0bf274012dc21243e793a861b0edd2194a (plain)
1
2
3
# check invalid 'if' type
{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
  'if': { 'value': 'defined(TEST_IF_STRUCT)' } }