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

          Issue ID: 21972
           Summary: importC: Error: no struct-declarator-list for struct
                    with only anonymous struct/union members
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Same error as issue 21961, but this time the parser misses that there are
fields which have been added to the struct.
---
struct outer
{
 struct
   {
     int nested;
   };
};
---

This would suggest the type is not being constructed in the same way that D
anon struct/union types are.

--

Reply via email to