Issue 12350 - Assigning __traits(getAttributes) to variable crashes DMD

https://d.puremagic.com/issues/show_bug.cgi?id=12350