From cfdd5bcad515a8371af59dba9625e31a6f6f733e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 4 May 2015 09:05:16 -0600 Subject: qapi: Add tests of redefined expressions 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 Reviewed-by: Markus Armbruster Signed-off-by: Markus Armbruster --- tests/qapi-schema/redefined-event.err | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/qapi-schema/redefined-event.err (limited to 'tests/qapi-schema/redefined-event.err') diff --git a/tests/qapi-schema/redefined-event.err b/tests/qapi-schema/redefined-event.err new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3