Add test: Expression using `this` is not constant