Bug 3227 – Segfault(mtype.c) anonymous delegate with void parameter
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2009-08-05T00:26:00Z
Last change time
2015-06-09T01:28:06Z
Keywords
ice-on-invalid-code
Assigned to
nobody
Creator
clugdbug
Comments
Comment #0 by clugdbug — 2009-08-05T00:26:25Z
----
auto x = (void){};
----
ice.d(1): Error: cannot have parameter of type void
ice.d(1): Error: cannot have parameter of type void
<segfault>
Does not segfault on D1.
Comment #1 by clugdbug — 2009-08-06T00:00:57Z
*** This issue has been marked as a duplicate of issue 3196 ***