summaryrefslogtreecommitdiff
path: root/src/testdir/test_eval_func.vim
blob: 4fcd0421abbaa8e917774d47e4a4472e01c8856f (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')