December 12, 2018
https://issues.dlang.org/show_bug.cgi?id=19482

          Issue ID: 19482
           Summary: ICE with extern(C++) and static foreach
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: turkeyman@gmail.com

extern(C++) class foo
{
    static foreach (i; 0 .. 100)
    {
    }
}

> Error : Internal Compiler error : type `int[]` can not be mapped to C++

Build using latest DMD for Win64.

--