Check that using a class new operator on a variable that is not of a class type results in an error. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>