aboutsummaryrefslogtreecommitdiff
path: root/tests/decode/err_init3.decode
diff options
context:
space:
mode:
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