Check that trying to assign a scalar value to an array results in an error. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>