mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
br3026808: add test case
Add test case for BR 3026808 (%assign %$local). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
3a014348ca
commit
4106753f6c
18
test/br3026808.asm
Normal file
18
test/br3026808.asm
Normal file
@ -0,0 +1,18 @@
|
||||
%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
|
Loading…
x
Reference in New Issue
Block a user