diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-05 12:16:23 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-05 12:16:23 -0700 |
commit | 0fec737e263f4a0bb84f3e7b6e1e66f2b0e67581 (patch) | |
tree | f9f20f2accc3468137ae97d4c107dd1d26f7b54f | |
parent | bd00f25a7096614ff87ffbd65d44c3a515788981 (diff) | |
download | nasm-0fec737e263f4a0bb84f3e7b6e1e66f2b0e67581.tar.gz |
test/ifdef.asm: test for simple %ifdef
For some reason, %ifdef is failing now?!
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r-- | test/ifdef.asm | 7 |
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 |