nasm/test/paste.asm
Cyrill Gorcunov 8ab945a259 preproc: add another test case
Add another test case for preprocessor token pasting.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-07-09 15:05:32 -07:00

13 lines
161 B
NASM

%macro bug 1-*
%push foo
%define %$v %1
%define vv %$v_ %+ %1
%%top_{%$v}%1:
mov eax, eax
mov eax, %%top_{%$v}%1
mov eax, vv
%pop
%endmacro
bug a