aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 19:13:15 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:46 +0300
commit6fcb91cbc1a510ab8563d638b315ce7bd265464b (patch)
treeeb2386f608a39fa51e3693706c2229de7cf28ca0
parent3d5195704d86636f398f66c6a09966da650972b7 (diff)
downloadnasm-6fcb91cbc1a510ab8563d638b315ce7bd265464b.tar.gz
nasm-6fcb91cbc1a510ab8563d638b315ce7bd265464b.tar.xz
nasm-6fcb91cbc1a510ab8563d638b315ce7bd265464b.zip
test: nasm-t -- Add br3200749
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/br3200749.asm7
-rw-r--r--travis/test/br3200749.json13
-rw-r--r--travis/test/br3200749.stderr2
3 files changed, 22 insertions, 0 deletions
diff --git a/travis/test/br3200749.asm b/travis/test/br3200749.asm
new file mode 100644
index 00000000..a809b753
--- /dev/null
+++ b/travis/test/br3200749.asm
@@ -0,0 +1,7 @@
+%define IFNDEF %ifndef
+%define ENDIF %endif
+
+IFNDEF foo
+ ; bar
+ENDIF
+
diff --git a/travis/test/br3200749.json b/travis/test/br3200749.json
new file mode 100644
index 00000000..6d4bc281
--- /dev/null
+++ b/travis/test/br3200749.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test macro expansion",
+ "id": "br3200749",
+ "format": "bin",
+ "source": "br3200749.asm",
+ "option": "-Ox",
+ "target": [
+ { "stderr": "br3200749.stderr" }
+ ],
+ "error": "expected"
+ }
+]
diff --git a/travis/test/br3200749.stderr b/travis/test/br3200749.stderr
new file mode 100644
index 00000000..ce6ada2b
--- /dev/null
+++ b/travis/test/br3200749.stderr
@@ -0,0 +1,2 @@
+./travis/test/br3200749.asm:4: error: label or instruction expected at start of line
+./travis/test/br3200749.asm:6: error: label or instruction expected at start of line \ No newline at end of file