D-Programming-Language/dmd — pull request #851 by donc (2012-03-30 13:06:45+00:00)
Title: Fix issue 7785 [CTFE] ICE when slicing pointer to variable

Disallow slicing of pointers to non-arrays.
Disallow non-zero indexing of pointers to non-arrays.