------- Comment #3 from ppluzhnikov at charter dot net 2006-10-19 17:34 ------- Here is another (very similar) test case:
template <class T> struct Dict { struct Iterator; Iterator begin() { return Iterator(); } // incomplete }; template <class T> struct Dict<T>::Iterator { Iterator() { } }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21976