]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qapi-schema/flat-union-bad-base.json
qapi: add qapi2texi script
[mirror_qemu.git] / tests / qapi-schema / flat-union-bad-base.json
index 74dd421708d78a1b78fed8aaa920b2ed6fb90cb1..7713e7f0adc65c502597c834acf405d4c218d737 100644 (file)
@@ -1,10 +1,23 @@
 # we allow anonymous base, but enforce no duplicate keys
+
+##
+# @TestEnum:
+##
 { 'enum': 'TestEnum',
   'data': [ 'value1', 'value2' ] }
+##
+# @TestTypeA:
+##
 { 'struct': 'TestTypeA',
   'data': { 'string': 'str' } }
+##
+# @TestTypeB:
+##
 { 'struct': 'TestTypeB',
   'data': { 'integer': 'int' } }
+##
+# @TestUnion:
+##
 { 'union': 'TestUnion',
   'base': { 'enum1': 'TestEnum', 'string': 'str' },
   'discriminator': 'enum1',