[Issue 19482] New: ICE with extern(C++) and static foreach
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Dec 12 23:10:26 UTC 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 at puremagic.com
          Reporter: turkeyman at 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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list