aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2021-02-21 01:10:05 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2021-02-21 01:10:05 +0300
commit6d95cc8d296862b67dd7d9fd94c676065b202c1d (patch)
tree54cdb3c197d0ca7d257c2b13d2f835dd8e4759d0
parent8c735c58d191c217d75a8137a850ffc56cd4a269 (diff)
downloadnasm-6d95cc8d296862b67dd7d9fd94c676065b202c1d.tar.gz
nasm-6d95cc8d296862b67dd7d9fd94c676065b202c1d.tar.xz
nasm-6d95cc8d296862b67dd7d9fd94c676065b202c1d.zip
travis: add br3392739
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/br3392739.asm1
-rw-r--r--travis/test/br3392739.json13
-rw-r--r--travis/test/br3392739.stderr1
3 files changed, 15 insertions, 0 deletions
diff --git a/travis/test/br3392739.asm b/travis/test/br3392739.asm
new file mode 100644
index 00000000..6c8367c4
--- /dev/null
+++ b/travis/test/br3392739.asm
@@ -0,0 +1 @@
+[section .text follows=.text]
diff --git a/travis/test/br3392739.json b/travis/test/br3392739.json
new file mode 100644
index 00000000..2bd862fc
--- /dev/null
+++ b/travis/test/br3392739.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test error trigger for self following section",
+ "id": "br3392739",
+ "format": "bin",
+ "source": "br3392739.asm",
+ "option": "-Ox",
+ "target": [
+ { "stderr": "br3392739.stderr" }
+ ],
+ "error": "expected"
+ }
+]
diff --git a/travis/test/br3392739.stderr b/travis/test/br3392739.stderr
new file mode 100644
index 00000000..1b55d307
--- /dev/null
+++ b/travis/test/br3392739.stderr
@@ -0,0 +1 @@
+./travis/test/br3392739.asm: fatal: section .text is self following