/*! ========================================================================
** Extended Template and Library Test Suite
** Smart Pointer Template Class Test
-** $Id: smart_ptr.cpp,v 1.1.1.1 2005/01/04 01:31:48 darco Exp $
+** $Id$
**
** Copyright (c) 2002 Robert B. Quattlebaum Jr.
**
if(my_test_obj::instance_count!=0)
{
printf("FAILED!\n");
- printf(__FILE__":%d: on create/distroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count);
+ printf(__FILE__":%d: on create/destroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count);
return 1;
}
if(my_test_obj::instance_count!=0)
{
printf("FAILED!\n");
- printf(__FILE__":%d: on create/distroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count);
+ printf(__FILE__":%d: on create/destroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count);
return 1;
}
return 0;
}
-void test_func(etl::smart_ptr<my_test_obj> smart_ptr)
+void test_func(etl::smart_ptr<my_test_obj> smart_ptr __attribute__ ((unused)))
{
}