[nasm:nasm-2.15.xx] test/ifdef.asm: test for simple %ifdef
nasm-bot for H. Peter Anvin (Intel)
hpa at zytor.com
Fri Jun 5 12:24:03 PDT 2020
Commit-ID: 0fec737e263f4a0bb84f3e7b6e1e66f2b0e67581
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=0fec737e263f4a0bb84f3e7b6e1e66f2b0e67581
Author: H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Fri, 5 Jun 2020 12:16:23 -0700
Committer: H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Fri, 5 Jun 2020 12:16:23 -0700
test/ifdef.asm: test for simple %ifdef
For some reason, %ifdef is failing now?!
Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>
---
test/ifdef.asm | 7 +++++++
1 file changed, 7 insertions(+)
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
More information about the Nasm-commits
mailing list