Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
BAD_CAST_DTOR.cpp
Go to the documentation of this file.
1// checking for bad_cast dtor
2
3
25#if 0 // guard invalid preprocessor symbol below
26 // establish a dependency on RUNTIME_IN_STD.cpp
27# ifndef _RWSTD_NO_RUNTIME_IN_STD
28# endif // _RWSTD_NO_RUNTIME_IN_STD
29#endif // 0
30
31#define TEST_DTOR
32#define bad_alloc bad_cast
33#define main test_bad_cast_dtor
35#undef main
36
37int main (int argc, char *argv[])
38{
39 return test_bad_cast_dtor (argc, argv);
40}
#define main