mirror of
https://github.com/qemu/qemu.git
synced 2025-08-02 12:45:00 +00:00

Demonstrate that the qapi generator doesn't deal very well with redefined expressions. At the parse level, they are silently accepted; and while the testsuite just stops at parsing, I've further tested that many of them cause generator crashes or invalid C code if they were appended to qapi-schema-test.json. A later patch will tighten things up and adjust the testsuite to match. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
4 lines
159 B
Plaintext
4 lines
159 B
Plaintext
[OrderedDict([('type', 'size'), ('data', OrderedDict([('myint', 'size')]))])]
|
|
[]
|
|
[OrderedDict([('type', 'size'), ('data', OrderedDict([('myint', 'size')]))])]
|