summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/paste.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/paste.asm b/test/paste.asm
new file mode 100644
index 00000000..0bc48384
--- /dev/null
+++ b/test/paste.asm
@@ -0,0 +1,12 @@
+%macro bug 1-*
+ %push foo
+ %define %$v %1
+ %define vv %$v_ %+ %1
+ %%top_{%$v}%1:
+ mov eax, eax
+ mov eax, %%top_{%$v}%1
+ mov eax, vv
+ %pop
+%endmacro
+
+bug a