Issue 10015 - Segfault on forward referencing a variable of templated struct

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