Bug 12437 – ICE when passing undefined type to function pointer

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2014-03-21T16:37:00Z
Last change time
2014-03-21T17:36:49Z
Assigned to
nobody
Creator
michaelpm394

Comments

Comment #0 by michaelpm394 — 2014-03-21T16:37:04Z
void main() { void function(int) bar; bar(fake + 0); } main.d(3): Error: undefined identifier fake dmd: hdrgen.c:764: virtual void PrettyPrintVisitor::visit(Type*): Assertion `0' failed.