aboutsummaryrefslogtreecommitdiff
path: root/tests/decode/err_field6.decode
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-07-22 17:02:56 -0700
committerRichard Henderson <richard.henderson@linaro.org>2019-08-19 08:03:41 -0700
commit94597b6146f30f949f2c454f424082a2b0f55a0e (patch)
tree5436bccd14b058534d76aa5e0999d54c678bbe3c /tests/decode/err_field6.decode
parent3fbd3405d2b0604ea530fc7a1828f19da1e95ff9 (diff)
downloadqemu-94597b6146f30f949f2c454f424082a2b0f55a0e.zip
qemu-94597b6146f30f949f2c454f424082a2b0f55a0e.tar.gz
qemu-94597b6146f30f949f2c454f424082a2b0f55a0e.tar.bz2
decodetree: Allow !function with no input bits
Call this form a "parameter", returning a value extracted from the DisasContext. Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/decode/err_field6.decode')
-rw-r--r--tests/decode/err_field6.decode5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/decode/err_field6.decode b/tests/decode/err_field6.decode
new file mode 100644
index 0000000..a719884
--- /dev/null
+++ b/tests/decode/err_field6.decode
@@ -0,0 +1,5 @@
+# This work is licensed under the terms of the GNU LGPL, version 2 or later.
+# See the COPYING.LIB file in the top-level directory.
+
+# Diagnose no bits in field
+%field