blob: ac7950117f94903c31291d1cd1507824f4410aaa [file] [log] [blame]
#include <iostream.h>
#include <stddef.h>
#include <new>
int fail = 1;
static void *operator new(size_t size) throw (std::bad_alloc) {
--fail;
return (void*) 0;
}
int main() {
cout << "";
new int;
return fail;
}