2 // GROUPS passed operators
4 // Message-Id: <199301272137.AA25213@world.std.com>
5 // From: kol@world.std.com (Nikolay Yatsenko)
7 // Date: Wed, 27 Jan 1993 16:37:30 -0500
9 extern "C" int printf(const char* ...);
11 int delete_counter = -1;
14 void operator delete (void * p) {delete_counter ++; ::operator delete(p);}
21 ::delete ps1; // Wrong T::operator delete() is called here
23 if (delete_counter != -1)
24 { printf ("FAIL\n"); return 1; }