summary refs log tree commit diff stats
path: root/tests/decode/err_init2.decode
diff options
context:
space:
mode:
Diffstat (limited to 'tests/decode/err_init2.decode')
-rw-r--r--tests/decode/err_init2.decode6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/decode/err_init2.decode b/tests/decode/err_init2.decode
new file mode 100644
index 0000000000..b58de30098
--- /dev/null
+++ b/tests/decode/err_init2.decode
@@ -0,0 +1,6 @@
+# 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.
+&args	a b
+insn	00000000 00000000 a:8 b:8	&args a=1