diff options
Diffstat (limited to 'tests/qapi-schema/alternate-unknown.json')
-rw-r--r-- | tests/qapi-schema/alternate-unknown.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-unknown.json b/tests/qapi-schema/alternate-unknown.json new file mode 100644 index 0000000000..0bab9c2c58 --- /dev/null +++ b/tests/qapi-schema/alternate-unknown.json @@ -0,0 +1,4 @@ +# FIXME: we should reject an anonymous union with unknown type in branch +{ 'union': 'Union', + 'discriminator': {}, + 'data': { 'unknown': 'MissingType' } } |