summary refs log tree commit diff stats
path: root/tests/decode/err_field8.decode
diff options
context:
space:
mode:
Diffstat (limited to 'tests/decode/err_field8.decode')
-rw-r--r--tests/decode/err_field8.decode8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/decode/err_field8.decode b/tests/decode/err_field8.decode
new file mode 100644
index 0000000000..cc47c08a45
--- /dev/null
+++ b/tests/decode/err_field8.decode
@@ -0,0 +1,8 @@
+# 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 patterns which refer to undefined fields
+&f1 f1 a
+%field1        field2:3
+@fmt ........ ........ ........ .... a:4 &f1
+insn 00000000 00000000 00000000 0000 .... @fmt f1=%field1