summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-09-24 15:25:59 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-09-24 15:25:59 +0400
commite6775697bb1496046cc125bded5303f80a26a5a1 (patch)
tree88413badb0f7564ff19fa71f14563cd475d2e071
parent4a35008733ca585f6606ba5e75e925ef47dfbd23 (diff)
downloadnasm-e6775697bb1496046cc125bded5303f80a26a5a1.tar.gz
test: Add br3074517.asm
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--test/br3074517.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/br3074517.asm b/test/br3074517.asm
new file mode 100644
index 00000000..96978095
--- /dev/null
+++ b/test/br3074517.asm
@@ -0,0 +1,12 @@
+;%define UNDEFINED
+%macro macro 0
+ %ifndef UNDEFINED
+ %rep 1
+ %fatal This should display "fatal: (m:3)"
+ %endrep
+ %endif
+ %fatal This should display "fatal: (m:6)" if 'UNDEFINED' defined
+%endmacro
+
+macro
+