aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-24 14:01:38 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-24 15:24:32 +0300
commit62bae12eed930080f4b7935e4d16359d598ea360 (patch)
tree33a30bda077802943cada92d54544fd6b7fc01f4 /travis/test
parent355d8bf40c926b28d9a6ce9f4e721b99a9826831 (diff)
downloadnasm-62bae12eed930080f4b7935e4d16359d598ea360.tar.gz
nasm-62bae12eed930080f4b7935e4d16359d598ea360.tar.xz
nasm-62bae12eed930080f4b7935e4d16359d598ea360.zip
travis: add br3104312
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/br3104312.asm11
-rw-r--r--travis/test/br3104312.json11
-rw-r--r--travis/test/br3104312.stderr2
3 files changed, 24 insertions, 0 deletions
diff --git a/travis/test/br3104312.asm b/travis/test/br3104312.asm
new file mode 100644
index 00000000..3b9509bd
--- /dev/null
+++ b/travis/test/br3104312.asm
@@ -0,0 +1,11 @@
+%if 1 < 8000_0002h
+ %warning No bug with 8000_0002h
+%else
+ %warning Bug with 8000_0002h
+%endif
+
+%if 1 < 8000_0001h
+ %warning No bug with 8000_0001h
+%else
+ %warning Bug with 8000_0001h
+%endif
diff --git a/travis/test/br3104312.json b/travis/test/br3104312.json
new file mode 100644
index 00000000..17358171
--- /dev/null
+++ b/travis/test/br3104312.json
@@ -0,0 +1,11 @@
+[
+ {
+ "description": "Test 8000_0001h and 8000_0002h bugs",
+ "id": "br3104312",
+ "source": "br3104312.asm",
+ "option": "-E",
+ "target": [
+ { "stderr": "br3104312.stderr" }
+ ]
+ }
+]
diff --git a/travis/test/br3104312.stderr b/travis/test/br3104312.stderr
new file mode 100644
index 00000000..a7fbdb69
--- /dev/null
+++ b/travis/test/br3104312.stderr
@@ -0,0 +1,2 @@
+./travis/test/br3104312.asm:2: warning: No bug with 8000_0002h [-w+user]
+./travis/test/br3104312.asm:8: warning: No bug with 8000_0001h [-w+user] \ No newline at end of file