aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-09-07 09:57:00 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-09-07 09:57:00 +0300
commit61265ecd15836a2d1fe696a6befcbc9a77cb39a0 (patch)
treeb3a6f27dd76f9b110dfa46448fb2b3368bc65ee0
parent08996ec2e522512bef26df766b3e45068fe825e1 (diff)
downloadnasm-61265ecd15836a2d1fe696a6befcbc9a77cb39a0.tar.gz
nasm-61265ecd15836a2d1fe696a6befcbc9a77cb39a0.tar.xz
nasm-61265ecd15836a2d1fe696a6befcbc9a77cb39a0.zip
travis: add br3392442
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/br3392442.asm4
-rw-r--r--travis/test/br3392442.bin.tbin0 -> 20 bytes
-rw-r--r--travis/test/br3392442.json13
-rw-r--r--travis/test/br3392442.stderr2
4 files changed, 19 insertions, 0 deletions
diff --git a/travis/test/br3392442.asm b/travis/test/br3392442.asm
new file mode 100644
index 00000000..5b19f09e
--- /dev/null
+++ b/travis/test/br3392442.asm
@@ -0,0 +1,4 @@
+ and byte [0], ~80h
+ and byte [0], 0xfff
+ and byte [0], -256
+ and byte [0], -257
diff --git a/travis/test/br3392442.bin.t b/travis/test/br3392442.bin.t
new file mode 100644
index 00000000..c5c9e785
--- /dev/null
+++ b/travis/test/br3392442.bin.t
Binary files differ
diff --git a/travis/test/br3392442.json b/travis/test/br3392442.json
new file mode 100644
index 00000000..c0fd5e12
--- /dev/null
+++ b/travis/test/br3392442.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test br3392442",
+ "id": "br3392442",
+ "format": "bin",
+ "source": "br3392442.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "br3392442.bin" },
+ { "stderr": "br3392442.stderr" }
+ ]
+ }
+]
diff --git a/travis/test/br3392442.stderr b/travis/test/br3392442.stderr
new file mode 100644
index 00000000..cce8581a
--- /dev/null
+++ b/travis/test/br3392442.stderr
@@ -0,0 +1,2 @@
+./travis/test/br3392442.asm:2: warning: byte data exceeds bounds [-w+number-overflow]
+./travis/test/br3392442.asm:4: warning: byte data exceeds bounds [-w+number-overflow] \ No newline at end of file