1// GROUPS passed operator-delete
2// Check that using the delete operator with a null pointer
3// is allowed (as called for by The Book, pg. 259)
4
5extern "C" int printf (const char *, ...);
6
7struct base {
8	int member;
9};
10
11base* bp;
12
13void test ()
14{
15	delete bp;
16}
17
18int main ()
19{
20	bp = (base *) 0;
21	test ();
22
23	printf ("PASS\n");
24	return 0;
25}
26