summaryrefslogtreecommitdiff
path: root/test/reldef.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/reldef.asm')
-rw-r--r--test/reldef.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/reldef.asm b/test/reldef.asm
new file mode 100644
index 00000000..17186c57
--- /dev/null
+++ b/test/reldef.asm
@@ -0,0 +1,9 @@
+ bits 64
+
+ extern bar
+
+ section .data
+foo: dd bar
+ dd foo - $
+; dd foo*2
+ dd bar - $