diff options
Diffstat (limited to 'tests/qapi-schema/bad-base.json')
-rw-r--r-- | tests/qapi-schema/bad-base.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/bad-base.json b/tests/qapi-schema/bad-base.json new file mode 100644 index 0000000000..de964a0e80 --- /dev/null +++ b/tests/qapi-schema/bad-base.json @@ -0,0 +1,3 @@ +# FIXME: we should reject a base that is not a struct +{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } } +{ 'type': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } } |