summaryrefslogtreecommitdiff
path: root/src/testdir/test_vim9_fails.vim
blob: e09eb6543d44f1f69eb54f0b17155af3499885f0 (plain)
1
2
3
4
5
6
7
8
9
10
" Test for Vim9 script with failures, causing memory leaks to be reported.
" The leaks happen after a fork() and can be ignored.

def Test_assignment()
  if has('channel')
    var chan1: channel
    var job1: job
    var job2: job = job_start('willfail')
  endif
enddef