test/br3026808.asm
raw| 1 | ;Testname=br3026808; Arguments=-Ox -fbin -obr3026808.o; Files=stdout stderr br3026808.o |
| 2 | |
| 3 | %imacro proc 1 |
| 4 | %push proc |
| 5 | %assign %$arg 1 |
| 6 | %endmacro |
| 7 | |
| 8 | %imacro arg 0-1 1 |
| 9 | %assign %$arg %1+%$arg |
| 10 | %endmacro |
| 11 | |
| 12 | %imacro endproc 0 |
| 13 | %pop |
| 14 | %endmacro |
| 15 | |
| 16 | ;---------------------------- |
| 17 | |
| 18 | proc Test |
| 19 | %$ARG arg |
| 20 | endproc |