[Issue 22151] New: Compiler crash when attempting to assign to function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 27 22:34:31 UTC 2021


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

          Issue ID: 22151
           Summary: Compiler crash when attempting to assign to function
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: critical
          Priority: P3
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: Ajieskola at gmail.com

```d
void main()
{   *&main = *&main;
}
```

Attempting to compile leads to "illegal instruction" crash. Tested with 2.097.0
and 2.095.1

--


More information about the Digitalmars-d-bugs mailing list