1 // Bug: new doesn't make sure that the count is an integral value.
4 extern "C" int printf (const char *, ...);
5 extern "C" void *malloc (size_t);
8 void * operator new (size_t siz) throw (std::bad_alloc) {
21 int* b1 = new int[(int)f];
22 int* b2 = new int[f]; // ERROR - new requires integral size