1 Test for user functions.
2 Also test an <expr> mapping calling a function.
6 :function Table(title, ...)
10 : exe "let ret = ret . a:" . idx
15 :function Compute(n1, n2, divname)
19 : exe "let g:" . a:divname . " = ". a:n1 / a:n2
27 : call search('XX', 'b')
32 : return g:counter . '. '
39 :inoremap <expr> ( ListItem()
40 :inoremap <expr> [ ListReset()
41 :imap <expr> + Expr1()
42 :imap <expr> * Expr2()
45 C
\x12=Table("xxx", 4, "asdf")
46 \x12=Compute(45, 0, "retval")
48 \x12=Compute(45, 5, "retval")
55 [(one again
\e:$-5,$w! test.out