]> 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 79aee796256c27233633bed25d02a4c04c3f7859..fdb17a41197e77d4ee4185f8e43b729d8ec0b095 100644 (file)
@@ -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,