nasm/test/ifdef.asm
H. Peter Anvin (Intel) 0fec737e26 test/ifdef.asm: test for simple %ifdef
For some reason, %ifdef is failing now?!

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2020-06-05 12:16:23 -07:00

7 lines
82 B
NASM

%define FOO(x) x
%ifndef FOO
%define FOO(x) _ %+ x
%endif
FOO(this):
jmp this