Issue 7645 - ICE(e2ir.c) nested classes

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