summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/all/equiv2.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/all/equiv2.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/all/equiv2.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/all/equiv2.s b/binutils-2.25/gas/testsuite/gas/all/equiv2.s
new file mode 100644
index 00000000..c533af7b
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/all/equiv2.s
@@ -0,0 +1,6 @@
+;# Re-definition of an already .equiv-ed symbol (to an expression).
+;# The assembler should reject this.
+ .equiv x, y-z
+ .equiv y, 1
+ .equiv z, 1
+ .equiv x, 1