[Issue 21951] New: Segfault on `noreturn.init`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 23 03:04:58 UTC 2021


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

          Issue ID: 21951
           Summary: Segfault on `noreturn.init`
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

this crashes the compiler

---
alias noreturn = typeof(*null);

void main()
{
    auto a = noreturn.init;
}    
---

DMD dirty 9d718f2f8c7f34d3b616791493d9e71d7527f221

--


More information about the Digitalmars-d-bugs mailing list