summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-28 18:32:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-28 18:32:16 -0700
commita676075b51bbac7ff28e6155dcdfe5edeb883967 (patch)
tree2d703cf51a470b06cbbbb7f513b86f1f726d1276 /test
parentedc510a115806527f64b90f5f865e1dfb478d731 (diff)
downloadnasm-a676075b51bbac7ff28e6155dcdfe5edeb883967.tar.gz
nasm-a676075b51bbac7ff28e6155dcdfe5edeb883967.tar.bz2
nasm-a676075b51bbac7ff28e6155dcdfe5edeb883967.zip
test: add a test for %imacro
Add a test for case-insensitive matching of %imacro.
Diffstat (limited to 'test')
-rw-r--r--test/imacro.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/imacro.asm b/test/imacro.asm
new file mode 100644
index 0000000..252a67d
--- /dev/null
+++ b/test/imacro.asm
@@ -0,0 +1,6 @@
+%imacro Zero 1
+ xor %1,%1
+%endmacro
+
+ Zero eax
+ zero eax