www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21968] New: importC: struct fields:

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

          Issue ID: 21968
           Summary: importC: struct fields:
                    AssertError src/dmd/typesem.d(1890): Assertion failure
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

ICE when declaring a new opaque struct in conjunction with a field declaration.
---
struct my_struct
{
  struct my_data *data[16];
};

--
May 25 2021