summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-18 20:21:12 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-18 20:21:12 +0200
commit8d8aa0a367380f23f0af428fcb66a1a0615bf872 (patch)
tree31a4bd5a01a8913846a1bda3e0b46b40e0365de6 /src
parentc1808d5822ed9534ef7f0fe509b15bee92a5cc28 (diff)
downloadvim-8d8aa0a367380f23f0af428fcb66a1a0615bf872.zip
Add missing test file.
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_tagjump.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_tagjump.vim b/src/testdir/test_tagjump.vim
new file mode 100644
index 000000000..d8a333f44
--- /dev/null
+++ b/src/testdir/test_tagjump.vim
@@ -0,0 +1,9 @@
+" Tests for tagjump (tags and special searches)
+
+" SEGV occurs in older versions. (At least 7.4.1748 or older)
+func Test_ptag_with_notagstack()
+ set notagstack
+ call assert_fails('ptag does_not_exist_tag_name', 'E426')
+ set tagstack&vim
+endfunc
+" vim: sw=2 et