summaryrefslogtreecommitdiff
path: root/src/testdir/test_expr.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-01 11:59:47 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-01 11:59:47 +0200
commit1d90a5a5af84250e226f8a9121e771f7b72aa894 (patch)
treea389742a425e6f06966959bd744c96c3a4f296a3 /src/testdir/test_expr.vim
parent6747fabc7348bf5f41ccfe851e2be3e900ec8ee0 (diff)
downloadvim-git-1d90a5a5af84250e226f8a9121e771f7b72aa894.tar.gz
patch 7.4.1968v7.4.1968
Problem: Invalid memory access with "\<C-">. Solution: Do not recognize this as a special character. (Dominique Pelle)
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r--src/testdir/test_expr.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim
index 7d7870e53..f44e21660 100644
--- a/src/testdir/test_expr.vim
+++ b/src/testdir/test_expr.vim
@@ -101,3 +101,8 @@ endfunc
func Test_set_reg_null_list()
call setreg('x', test_null_list())
endfunc
+
+func Test_special_char()
+ " The failure is only visible using valgrind.
+ call assert_fails('echo "\<C-">')
+endfunc