Check that an error is reported when either calling a task or a void function as part of an expression. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>