diff options
Diffstat (limited to 'tests/qapi-schema/args-union.json')
-rw-r--r-- | tests/qapi-schema/args-union.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/args-union.json b/tests/qapi-schema/args-union.json new file mode 100644 index 0000000..db97ef6 --- /dev/null +++ b/tests/qapi-schema/args-union.json @@ -0,0 +1,4 @@ +# FIXME we should reject union arguments +# TODO should we support this? +{ 'union': 'Uni', 'data': { 'case1': 'int', 'case2': 'str' } } +{ 'command': 'oops', 'data': 'Uni' } |