1 // Bug: g++ forgets about the instantiation of class1 when looking up
2 // class11_value, and tries to look things up in class1<class2>.
4 template<class ItIsInt>
7 typedef ItIsInt class11_value;
11 template<class ItIsClass2>
16 template<class ItIsClass2>
17 int class3<ItIsClass2>::f()
19 return typename class1<typename ItIsClass2::class2_value>::class11::class11_value(10);
23 typedef int class2_value;
28 class3<class2> the_class3;