2 // Bug: g++ forgets about the instantiation of class1 when looking up
3 // class11_value, and tries to look things up in class1<class2>.
5 template<class ItIsInt>
8 typedef ItIsInt class11_value;
12 template<class ItIsClass2>
17 template<class ItIsClass2>
18 int class3<ItIsClass2>::f()
20 return typename class1<typename ItIsClass2::class2_value>::class11::class11_value(10);
24 typedef int class2_value;
29 class3<class2> the_class3;