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
fix issue 10862 - Assignment inside if condition still sometimes
accepted
Merge pull request #2491 from hpohl/10862

fix issue 10862 - Assignment inside if condition still sometimes accepted
10610 ICE with CTFE after failed template

This is an error propagation bug. Class.staticmember should become
an ErrorExp, if Class was a failed template instantiation.
Merge pull request #2495 from donc/ice10610ctfe

10610 ICE with CTFE after failed template