patch 8.0.1397: pattern with \& following nothing gives an error

Problem:    Pattern with \& following nothing gives an error.
Solution:   Emit an empty node when needed.
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim
index d13e654..cb65fbf 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -721,3 +721,11 @@
   enew!
   let &encoding = save_enc
 endfunc
+
+" This was causing E874.  Also causes an invalid read?
+func Test_look_behind()
+  new
+  call setline(1, '0\|\&\n\@<=') 
+  call search(getline("."))
+  bwipe!
+endfunc