https://issues.dlang.org/show_bug.cgi?id=19755
Issue ID: 19755
Summary: Compiler crash
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This piece of code generates a crash on both dmd and ldc:
struct Thunk(Dummy) {
void opAssign(int dlg) {}
auto get() inout {
Thunk* self;
self.x = 0;
}
alias get this;
}
alias T = Thunk!int;
--
