summaryrefslogtreecommitdiff
path: root/test/br3074517.asm
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-04-14 01:07:52 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-04-14 01:07:52 -0700
commit02a48f17aa3a8080563593ab849bd2458a0c3113 (patch)
treee683d520d73e96fcb7a6827026d23537c0817788 /test/br3074517.asm
parent300d4816804c8ceb4a4601a49ec3ec479c1951b5 (diff)
downloadnasm-02a48f17aa3a8080563593ab849bd2458a0c3113.tar.gz
nasm-02a48f17aa3a8080563593ab849bd2458a0c3113.tar.bz2
nasm-02a48f17aa3a8080563593ab849bd2458a0c3113.zip
Imported Upstream version 2.10.07upstream/2.10.07upstream-2.10.07
Diffstat (limited to 'test/br3074517.asm')
-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 0000000..9697809
--- /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
+