www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16772] New: ICE when using extern(C++) and ubyte[] return value

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

          Issue ID: 16772
           Summary: ICE when using extern(C++) and ubyte[] return value
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: atila.neves gmail.com

extern(C++) ubyte[] foo() { return []; }

dmd foo.d:

Error: Internal Compiler Error: unsupported type ubyte[]

--
Nov 25 2016