mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
preproc: add another test case
Add another test case for preprocessor token pasting. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
20a94ad7fe
commit
8ab945a259
12
test/paste.asm
Normal file
12
test/paste.asm
Normal file
@ -0,0 +1,12 @@
|
||||
%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
|
Loading…
Reference in New Issue
Block a user