From 8ab945a259e40c2e4dc92e91f8fc78bf7c2e2175 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 9 Jul 2010 15:05:32 -0700 Subject: [PATCH] preproc: add another test case Add another test case for preprocessor token pasting. Signed-off-by: H. Peter Anvin --- test/paste.asm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/paste.asm 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 -- 2.11.4.GIT