summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/divide.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-11-07 06:03:50 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-11-07 06:03:50 +0000
commit7c68dc36cd8c5d572342eec3d698e6ea01c97b45 (patch)
tree8928bc17640979dd4f5da066782853cf28598582 /gas/testsuite/gas/i386/divide.s
parente8740c3b312ba619b61bba2c631eaf1939206060 (diff)
downloadbinutils-redhat-7c68dc36cd8c5d572342eec3d698e6ea01c97b45.tar.gz
* gas/i386/divide.s: Test line comment starting with '/'.
* gas/i386/divide.d: Pass --divide to gas. * gas/i386/intelok.d: Likewise. * gas/i386/i386.exp (divide): Run for all targets.
Diffstat (limited to 'gas/testsuite/gas/i386/divide.s')
-rw-r--r--gas/testsuite/gas/i386/divide.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/testsuite/gas/i386/divide.s b/gas/testsuite/gas/i386/divide.s
index 6a22dedae5..17433db788 100644
--- a/gas/testsuite/gas/i386/divide.s
+++ b/gas/testsuite/gas/i386/divide.s
@@ -1,4 +1,6 @@
start:
.long 1,2,3,a,b
- a=(.-start)/4-1
+/ This comment should still be allowed with --divide,
+/ but the divide must remain a divide in the next line
+a=(.-start)/4-1 # comment
b=(.-start)/4