https://issues.dlang.org/show_bug.cgi?id=12907
Issue ID: 12907
Summary: [ICE] Assertion failure '0' in 'mangle.c' when using
`auto` return type with lambda with dereferanced
`function` call
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ice
Severity: major
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
This code should compile:
---
auto f(void function() g)
{
return x => (*g)();
}
---
--
