nasm/test/br3026808.asm
H. Peter Anvin 4106753f6c br3026808: add test case
Add test case for BR 3026808 (%assign %$local).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-07-08 07:31:45 -07:00

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