aboutsummaryrefslogtreecommitdiffstats
path: root/test/ifdef.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/ifdef.asm')
-rw-r--r--test/ifdef.asm7
1 files changed, 7 insertions, 0 deletions
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