https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124046
Bug ID: 124046
Summary: d: assertion failure when assigning noreturn to ref
variable
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ibuclaw at gcc dot gnu.org
Target Milestone: ---
This should succeed execution, as taking the address of a noreturn variable is
not a read.
```
void main()
{
noreturn a;
ref r = a;
}
```
