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-21 21:11:33 +0000
commit0197c966da91cc2cecc0884ccaf332aa81b32deb (patch)
tree63e5abc89850a2d7c9fbe5e262a0826ae7befd1e
parent95e54a9f1f693f38075e8c8b8553970a8cfac0d7 (diff)
downloadnasm-0197c966da91cc2cecc0884ccaf332aa81b32deb.tar.gz
test: Add BR3392630
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