-
-
Notifications
You must be signed in to change notification settings - Fork 675
Closed
Description
With DMD 2.111 on windows, compiling the following program results in a dmd segfault (LDC is also affected):
void main() {
assert(assert(0, ""), "");
}DMD output:
function: _Dmain
el:000001D414EB9690 cnt=1 cs=0 rpair TYucent 000001D414EB8CF0 000001D414EB8BA0
el:000001D414EB8CF0 cnt=0 cs=255 relconst TY* 0+& __a11_2e5c617373657274332e64
el:000001D414EB8BA0 cnt=0 cs=255 const TYulong 11LL
This appears to have been failing since DMD 2.097.
assert(assert(0));, assert(assert(0), ""); and assert(assert(0, "")); all compile successfully and produce the expected assertion error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels