aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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