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