]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - test-suite/refcount.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / test-suite / refcount.cc
index c18d3df8075676d39a462be06d769e7f336f42dd..fdb17a41197e77d4ee4185f8e43b729d8ec0b095 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * $Id$
  *
- * DEBUG: section xx    Refcount allocator
+ * DEBUG: section --    Refcount allocator
  * AUTHOR:  Robert Collins
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -33,7 +33,7 @@
  *
  */
 
-#include "squid.h"
+#include "squid-old.h"
 #include "RefCount.h"
 
 class _ToRefCount :public RefCountable
@@ -139,6 +139,8 @@ main (int argc, char **argv)
     {
         ToRefCount anObject (new _ToRefCount);
         _ToRefCount *aPointer = anObject.getRaw();
+        if (aPointer == NULL)
+            exit(3);
         aPointer = NULL;
     }
     /* Create a doubley inheriting refcount instance,