Bug 3253 – DMD crashes on function pointer struct member initialization with function literal

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-08-16T07:27:00Z
Last change time
2015-06-09T01:28:05Z
Keywords
ice-on-invalid-code
Assigned to
nobody
Creator
ace17

Comments

Comment #0 by ace17 — 2009-08-16T07:27:04Z
// crashes dmd 2.031 struct MyStruct { int function() fp; } MyStruct[] MyArray = [ { &MyUnexistingFunction }, { function int() { return 0;}; }, ];
Comment #1 by bugzilla — 2009-09-03T13:45:08Z
Fixed dmd 2.032