aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
l---------test/emptyarg.asm1
-rw-r--r--test/ifdef.asm7
2 files changed, 8 insertions, 0 deletions
diff --git a/test/emptyarg.asm b/test/emptyarg.asm
new file mode 120000
index 00000000..0627dfae
--- /dev/null
+++ b/test/emptyarg.asm
@@ -0,0 +1 @@
+../../nasm-2.14.xx/test/emptyarg.asm \ No newline at end of file
diff --git a/test/ifdef.asm b/test/ifdef.asm
new file mode 100644
index 00000000..606cbd27
--- /dev/null
+++ b/test/ifdef.asm
@@ -0,0 +1,7 @@
+%define FOO(x) x
+%ifndef FOO
+ %define FOO(x) _ %+ x
+%endif
+
+FOO(this):
+ jmp this