svn commit: trunk/uClibc++/tests

gkajmowi at uclibc.org gkajmowi at uclibc.org
Fri Dec 15 01:51:56 UTC 2006


Author: gkajmowi
Date: 2006-12-14 17:51:56 -0800 (Thu, 14 Dec 2006)
New Revision: 16937

Log:
Added additional compilation test to check to make sure auto_ptr is working reasonably well,
in responce to bug reported.



Modified:
   trunk/uClibc++/tests/memorytest.cpp


Changeset:
Modified: trunk/uClibc++/tests/memorytest.cpp
===================================================================
--- trunk/uClibc++/tests/memorytest.cpp	2006-12-15 01:27:52 UTC (rev 16936)
+++ trunk/uClibc++/tests/memorytest.cpp	2006-12-15 01:51:56 UTC (rev 16937)
@@ -47,6 +47,8 @@
 		printf("c pointer is non-zero (BAD)\n");
 	}
 
+	std::auto_ptr<int> x( new int(5) );
+	std::auto_ptr<int> y( std::auto_ptr<int>( x ) );
 
 
 	return 0;




More information about the uClibc-cvs mailing list