diff options
Diffstat (limited to 'tests/qapi-schema/alternate-conflict-string.json')
-rw-r--r-- | tests/qapi-schema/alternate-conflict-string.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-conflict-string.json b/tests/qapi-schema/alternate-conflict-string.json new file mode 100644 index 0000000000..35245a30e6 --- /dev/null +++ b/tests/qapi-schema/alternate-conflict-string.json @@ -0,0 +1,7 @@ +# FIXME: we should reject anonymous unions with multiple string-like branches +{ 'enum': 'Enum', + 'data': [ 'hello', 'world' ] } +{ 'union': 'MyUnion', + 'discriminator': {}, + 'data': { 'one': 'str', + 'two': 'Enum' } } |