summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/all/diff1.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/all/diff1.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/all/diff1.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/all/diff1.s b/binutils-2.25/gas/testsuite/gas/all/diff1.s
new file mode 100644
index 00000000..10a89fdc
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/all/diff1.s
@@ -0,0 +1,5 @@
+# Difference of two undefined symbols.
+# The assembler should reject this.
+ .text
+ .globl _foo
+_foo: .long _a - _b