summaryrefslogtreecommitdiff
path: root/src/testdir/test55.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test55.in')
-rw-r--r--src/testdir/test55.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test55.in b/src/testdir/test55.in
index cf85f57a6..f255e33e4 100644
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -378,6 +378,16 @@ let l = [0, 1, 2, 3]
:unlet dict
:call garbagecollect(1)
:"
+:" test for patch 7.3.637
+:let a = 'No error caught'
+:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+o=a :"
+:lang C
+:redir => a
+:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+:redir END
+o=a :"
+:"
:/^start:/,$wq! test.out
ENDTEST