summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/br3026808.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/br3026808.asm b/test/br3026808.asm
new file mode 100644
index 00000000..5c61c953
--- /dev/null
+++ b/test/br3026808.asm
@@ -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