[Issue 21933] New: importC: core.exception.AssertError at src/dmd/typesem.d(1890): Assertion failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 20 10:56:45 UTC 2021


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

          Issue ID: 21933
           Summary: importC:
                    core.exception.AssertError at 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 at puremagic.com
          Reporter: ibuclaw at gdcproject.org

Structs cannot be used as function parameters.

---
struct STRUCT { void *opaque; };
int fun(struct STRUCT *);
---

--


More information about the Digitalmars-d-bugs mailing list