summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/all/forward.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/all/forward.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/all/forward.s44
1 files changed, 44 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/all/forward.s b/binutils-2.25/gas/testsuite/gas/all/forward.s
new file mode 100644
index 00000000..d51103ce
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/all/forward.s
@@ -0,0 +1,44 @@
+ .equiv two, 2*one
+ .equiv minus_one, -one
+ .equ one, 1
+ .equiv three, 3*one
+ .eqv four, 4*one
+
+ .data
+
+ .if two > one
+ .byte one
+ .byte two
+ .endif
+
+ .if four > one
+ .byte three
+ .byte four
+ .endif
+
+ .equ one, -1
+ .byte one
+ .byte two
+
+ .if four < one
+ .byte three
+ .byte four
+ .endif
+
+ .equ one, -minus_one
+ .byte one
+ .byte two
+
+ .if four > one
+ .byte three
+ .byte four
+ .endif
+
+ .equ one, minus_one
+ .byte one
+ .byte two
+
+ .if four < one
+ .byte three
+ .byte four
+ .endif