| Bram Moolenaar | fc8aa6d | 2020-10-12 20:31:26 +0200 | [diff] [blame] | 1 | " Test for Vim9 script with failures, causing memory leaks to be reported. |
| 2 | " The leaks happen after a fork() and can be ignored. | ||||
| 3 | |||||
| 4 | def Test_assignment() | ||||
| 5 | if has('channel') | ||||
| 6 | var chan1: channel | ||||
| 7 | var job1: job | ||||
| 8 | var job2: job = job_start('willfail') | ||||
| 9 | endif | ||||
| 10 | enddef | ||||