diff src/testdir/test_autocmd.vim @ 11641:dbce7e03bf55 v8.0.0703

patch 8.0.0703: illegal memory access with empty :doau command commit https://github.com/vim/vim/commit/faf29d7f91477c25c85d9d7165d90e8d8f1c512e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 9 11:07:16 2017 +0200 patch 8.0.0703: illegal memory access with empty :doau command Problem: Illegal memory access with empty :doau command. Solution: Check the event for being out of range. (James McCoy)
author Christian Brabandt <cb@256bit.org>
date Sun, 09 Jul 2017 11:15:03 +0200
parents ac36e139510f
children 1395a3b6978d
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -418,3 +418,7 @@ function Test_autocmd_bufwipe_in_SessLoa
     call delete(file)
   endfor
 endfunc
+
+func Test_empty_doau()
+  doau \|
+endfunc