Also put in place a testcase, so this (hopefully) won't regress again.
run_dump_test "opcode-suffix"
run_dump_test "intel"
run_dump_test "intel-intel"
+ run_list_test "intel-equ-loop"
run_dump_test "intel16"
run_list_test "intelbad" ""
run_dump_test "intelok"
--- /dev/null
+.*: Assembler messages:
+.*: Error: symbol definition loop .*
+.*: Error: can't resolve .*
+.*: Error: symbol definition loop .*
+.*: Error: can't resolve .*
+.*: Error: symbol definition loop .*
+.*: Error: can't resolve .*
+#pass
--- /dev/null
+ .intel_syntax noprefix
+
+ a = a
+ mov eax, [a]
+
+ b = c
+ c = b
+ mov eax, [b]
+ mov eax, [c]
+
+ d = e
+ e = d
+ x = d
+ d = 1
+ e = 2
+ mov eax, [x]