[REG2.065] Issue 13675 - enum type used with template causes compiler to segfault

https://issues.dlang.org/show_bug.cgi?id=13675