// checking for bad_alloc::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 main test_bad_alloc_what | |
#include "BAD_ALLOC_ASSIGNMENT.cpp" | |
#undef main | |
int main (int argc, char *argv[]) | |
{ | |
return test_bad_alloc_what (argc, argv); | |
} |