add test case for
Issue 5978 - ICE(mtype.c) when calling __traits(parent) on the child of an anonymous function.
Issue 5978 - ICE(mtype.c) when calling __traits(parent) on the child of an anonymous function.
Merge pull request #1444 from WalterBright/test5978

add test case for issue 5978