Issue 13350 - is(typeof(fun)) causes link error when template fun calls undefined reference

https://issues.dlang.org/show_bug.cgi?id=13350
Please add as a descriptive comment for this function the explanation for this that is under "Conversation".