summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_eval_func.vim
blob: 09d2f62d9c677cb2d634e4c1dd3891a0bba7dc82 (plain)
1
2
3
4
5
6
7
8
9
10
" Vim script used in test_eval.in.  Needed for script-local function.

func s:Testje()
  return "foo"
endfunc
let Bar = function('s:Testje')
$put ='s:Testje exists: ' . exists('s:Testje')
$put ='func s:Testje exists: ' . exists('*s:Testje')
$put ='Bar exists: ' . exists('Bar')
$put ='func Bar exists: ' . exists('*Bar')