3 typedef __SIZE_TYPE__ size_t;
4 extern "C" void* malloc (size_t);
5 extern "C" void free (void *);
7 template <class T> class undef;
13 template<typename T> class Pool { };
15 void *operator new(size_t size,Pool<int>& pool)
21 void operator delete(void *p,Pool<T>& pool)
23 undef<T> t; // { dg-error "incomplete" }
30 new (pool) A(); // { dg-message "required" }