diff options
Diffstat (limited to 'tests/qapi-schema/alternate-array.json')
-rw-r--r-- | tests/qapi-schema/alternate-array.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-array.json b/tests/qapi-schema/alternate-array.json new file mode 100644 index 0000000000..f241aac122 --- /dev/null +++ b/tests/qapi-schema/alternate-array.json @@ -0,0 +1,7 @@ +# we do not allow array branches in alternates +# TODO: should we support this? +{ 'struct': 'One', + 'data': { 'name': 'str' } } +{ 'alternate': 'Alt', + 'data': { 'one': 'One', + 'two': [ 'int' ] } } |