http://d.puremagic.com/issues/show_bug.cgi?id=3228
Summary: Segfault(mtype.c) multiple empty delegates
Product: D
Version: 2.031
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
This has to be the funniest looking bug I've ever made.
void main(){ (){}; (){}; }
ice.d(1): Error: function has no effect in expression (__dgliteral1)
<segfault>
Probably the same as bug #3227, it's segfaulting in the same place, and doesn't
segfault on D2.
This smiley variant should compile without errors. But it just segfaults.
---
static assert(!is(typeof((){(){}
;-()
{};})));
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------