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: [email protected]
Reporter: [email protected]
```d
void main()
{ *&main = *&main;
}
```
Attempting to compile leads to "illegal instruction" crash. Tested with 2.097.0
and 2.095.1
--
