summaryrefslogtreecommitdiff
path: root/tests/decode/err_init3.decode
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2017-12-07 12:44:09 -0800
committerRichard Henderson <richard.henderson@linaro.org>2018-02-22 15:44:07 -0800
commit568ae7efae7e4b90e213049efb8b6e4e12b47ca3 (patch)
treefdf0ac271d188e6c295c7c028e2688434185456d /tests/decode/err_init3.decode
parentff8689611a1d954897d857b28f7ef404e11cfa2c (diff)
downloadqemu-568ae7efae7e4b90e213049efb8b6e4e12b47ca3.tar.gz
scripts: Add decodetree.py
To be used to decode ARM SVE, but could be used for any fixed-width ISA. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/decode/err_init3.decode')
-rw-r--r--tests/decode/err_init3.decode7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/decode/err_init3.decode b/tests/decode/err_init3.decode
new file mode 100644
index 0000000000..96790abfdc
--- /dev/null
+++ b/tests/decode/err_init3.decode
@@ -0,0 +1,7 @@
+# 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 member initialized twice in pattern + format.
+&args a
+@format ........ ........ a:16 &args
+insn 00000000 00000000 a:16 @format