1//Build don't link: 2struct cl_heap_ring{ 3 void operator delete (void* ptr) { } 4 cl_heap_ring () 5 { } 6}; 7 8struct cl_heap_null_ring : public cl_heap_ring { 9 void operator delete (void* ptr) { } 10}; 11 12void f() 13{ 14 new cl_heap_null_ring(); 15} 16