qemu/tests/qapi-schema/union-optional-branch.json

3 lines
94 B
JSON

# union branches cannot be optional
{ 'union': 'Union', 'data': { '*a': 'int', 'b': 'str' } }