mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
4106753f6c
Add test case for BR 3026808 (%assign %$local). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
19 lines
203 B
NASM
19 lines
203 B
NASM
%imacro proc 1
|
|
%push proc
|
|
%assign %$arg 1
|
|
%endmacro
|
|
|
|
%imacro arg 0-1 1
|
|
%assign %$arg %1+%$arg
|
|
%endmacro
|
|
|
|
%imacro endproc 0
|
|
%pop
|
|
%endmacro
|
|
|
|
;----------------------------
|
|
|
|
proc Test
|
|
%$ARG arg
|
|
endproc
|