Issue 10616 - class C: C.D{static class D{}} does not work

http://d.puremagic.com/issues/show_bug.cgi?id=10616