Home | History | Annotate | Download | only in compiler
      1 /*
      2  * It is known that this code not compiled by following compilers:
      3  *
      4  * It is known that this code compiled by following compilers:
      5  *
      6  *   MSVC 6
      7  *   MSVC 8 Beta
      8  */
      9 
     10 /*
     11  * This code represent what STLport waits from a compiler which support
     12  * member template classes (!_STLP_NO_MEMBER_TEMPLATE_CLASSES)
     13  */
     14 
     15 template <typename T1>
     16 struct A
     17 {
     18   template <typename T2>
     19   struct B
     20   {
     21     typedef T2 _Type;
     22   };
     23 };
     24 
     25 
     26 template <typename T1, typename T2>
     27 struct C
     28 {
     29   typedef typename A<T1>:: template B<T2>::_Type ABType;
     30 };
     31