aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/weirdpaste.asm10
-rw-r--r--travis/test/weirdpaste.bin.tbin42 -> 45 bytes
-rw-r--r--travis/test/weirdpaste.i.t10
3 files changed, 20 insertions, 0 deletions
diff --git a/travis/test/weirdpaste.asm b/travis/test/weirdpaste.asm
index 353ef8a8..e43d855e 100644
--- a/travis/test/weirdpaste.asm
+++ b/travis/test/weirdpaste.asm
@@ -24,3 +24,13 @@
%define N 1e%++%+ 5
dd N, 1e+5
+
+;
+; test nil dereference, since we're
+; modifying with %line keep it last
+; in the file
+;
+; BR 3392696
+;
+%line 1 "`weirdpaste.asm"
+mov eax, eax
diff --git a/travis/test/weirdpaste.bin.t b/travis/test/weirdpaste.bin.t
index db0468ed..23061d3d 100644
--- a/travis/test/weirdpaste.bin.t
+++ b/travis/test/weirdpaste.bin.t
Binary files differ
diff --git a/travis/test/weirdpaste.i.t b/travis/test/weirdpaste.i.t
index bf2acd6c..1df996dc 100644
--- a/travis/test/weirdpaste.i.t
+++ b/travis/test/weirdpaste.i.t
@@ -21,3 +21,13 @@
dd 1e+5, 1e+5
+
+
+
+
+
+
+
+
+%line 2+1 '`weirdpaste.asm'
+mov eax, eax