Home | History | Annotate | Download | only in unit
      1 /* This test purpose is simply to check Standard header independancy that
      2  * is to say that the header can be included alone without any previous
      3  * include.
      4  * Additionnaly, for C Standard headers that STLport expose, it can also be
      5  * used to check that files included by those headers are compatible with
      6  * pure C compilers.
      7  */
      8 #include <typeinfo>
      9 
     10 #if 0 /* !defined (_STLP_NO_RTTI) && !defined (_STLP_NO_TYPEINFO) */
     11 /* SourceForge: STLport bug report 1721844
     12  * type_info is not a member of stlp_std
     13  */
     14 class A {};
     15 
     16 void type_info_header_test()
     17 {
     18   const std::type_info& ti = typeid(A);
     19 }
     20 #endif
     21