June 04, 2014
https://issues.dlang.org/show_bug.cgi?id=12851

          Issue ID: 12851
           Summary: ICE when passing const static array to template
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody@puremagic.com
          Reporter: monkeyworks12@hotmail.com

Related: https://issues.dlang.org/show_bug.cgi?id=12850

The error given is:
dmd: ctfeexpr.c:1741: Expression* ctfeIndex(Loc, Type*, Expression*,
uinteger_t): Assertion `e1->op == TOKarrayliteral' failed.

The code is only slightly different from Issue 12850.

http://dpaste.dzfl.pl/ef876e8a6cc9

--