summary refs log tree commit diff stats
path: root/tests/decode/err_field7.decode
diff options
context:
space:
mode:
Diffstat (limited to 'tests/decode/err_field7.decode')
-rw-r--r--tests/decode/err_field7.decode7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/decode/err_field7.decode b/tests/decode/err_field7.decode
new file mode 100644
index 0000000000..51fad7ccea
--- /dev/null
+++ b/tests/decode/err_field7.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 fields whose definitions form a loop
+%field1        field2:3
+%field2        field1:4
+insn 00000000 00000000 00000000 00000000 %field1 %field2