summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2020-04-01 14:45:23 -0700
committerChang S. Bae <chang.seok.bae@intel.com>2020-04-01 15:41:44 -0700
commit53ca4bb19cc4f3147891c03d10959d57e0edcc01 (patch)
treebea0c21889a3efed765052a7bc506fdfd388da34
parent51fd5a506723e756d306228cacba47e0a88b50e1 (diff)
downloadnasm-53ca4bb19cc4f3147891c03d10959d57e0edcc01.tar.gz
test: Add BR 3392630
Add the test code into the existing xdefine testing. Suggested-by: C. Masloch <pushbx@ulukai.org> Link: https://bugzilla.nasm.us/show_bug.cgi?id=3392630 Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
-rw-r--r--test/xdefine.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/xdefine.asm b/test/xdefine.asm
index 3b475864..180c0305 100644
--- a/test/xdefine.asm
+++ b/test/xdefine.asm
@@ -8,4 +8,8 @@
%xdefine ctr n
%define n 0x22
- db ctr, n ; Should be 0x21, 0x22
+ db ctr, n ; Should be 0x21, 0x22
+
+%define MNSUFFIX
+%define MNCURRENT TEST%[MNSUFFIX]
+%xdefine var MNCURRENT