diff -r 000000000000 -r bde4ae8d615e os/ossrv/genericopenlibs/cppstdlib/stl/test/compiler/ttei7.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/test/compiler/ttei7.cpp Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,31 @@ +/* + * It is known that this code not compiled by following compilers: + * + * MSVC 6 + * + * It is known that this code compiled by following compilers: + * + * MSVC 8 Beta + */ + +/* + * This code represent what STLport waits from a compiler which support + * the rebind member template class technique (!_STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE) + */ + +template +struct A +{ + template + struct B + { + typedef A _Type; + }; +}; + + +template +struct C +{ + typedef typename A:: template B::_Type _ATType; +};