fix Issue 12907 - [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call
Merge pull request #3666 from 9rnsr/fix12907

Issue 12907 - [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call