Issue 12122 - Template with enumerated constant length array causes error

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