Add test case for issue 7049.
Merge pull request #2484 from quickfur/test7049

Add test case for issue 7049.
Fix issue 10840 CTFE *this._data.arr is not yet implemented

This is a wrong-code bug in ?:, and a failure to detect null pointers
in DotVar expressions.
Merge pull request #2489 from donc/ctfeNullptrDotVar

10840 CTFE *this._data.arr is not yet implemented