Add test for bad spawn argument.

This commit is contained in:
EXetoC 2014-04-20 23:09:29 +02:00
commit d29cf2d0e2

View file

@ -0,0 +1,7 @@
discard """
line: 7
errormsg: "'spawn' takes a call expression of type void"
cmd: "nimrod $target --threads:on $options $file"
"""
spawn(1)