ReactOS 0.4.16-dev-340-g0540c21
typeinfo_header_test.cpp
Go to the documentation of this file.
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 */
14class A {};
15
16void type_info_header_test()
17{
18 const std::type_info& ti = typeid(A);
19}
20#endif
Definition: ehthrow.cxx:93
#define A(row, col)