diff options
Diffstat (limited to 'tests/qapi-schema/enum-union-clash.json')
-rw-r--r-- | tests/qapi-schema/enum-union-clash.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/enum-union-clash.json b/tests/qapi-schema/enum-union-clash.json new file mode 100644 index 0000000000..593282b6cf --- /dev/null +++ b/tests/qapi-schema/enum-union-clash.json @@ -0,0 +1,4 @@ +# we reject types that would conflict with implicit union enum +{ 'enum': 'UnionKind', 'data': [ 'oops' ] } +{ 'union': 'Union', + 'data': { 'a': 'int' } } |