blob: 5a73e14f95251dd637335fc0939cd379db5917c0 [file] [log] [blame]
// checking for bad_cast::what()
#include "config.h"
#if 0 // guard invalid preprocessor symbol below
// establish a dependency on RUNTIME_IN_STD.cpp
# ifndef _RWSTD_NO_RUNTIME_IN_STD
# endif // _RWSTD_NO_RUNTIME_IN_STD
#endif // 0
#define TEST_WHAT
#define bad_alloc bad_cast
#define main test_bad_cast_what
#include "BAD_ALLOC_ASSIGNMENT.cpp"
#undef main
int main (int argc, char *argv[])
{
return test_bad_cast_what (argc, argv);
}