www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22409] New: importC: [ICE] Error: struct no size because of

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

          Issue ID: 22409
           Summary: importC: [ICE] Error: struct no size because of
                    forward reference
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Issues error then segfaults.
---
struct S1;

typedef struct S1 {
    int f1;
} S1_t;

--
Oct 17 2021