git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@562 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-09-21 22:18:58 +00:00
parent 269e898942
commit dea0e372d3

View file

@ -10,8 +10,6 @@
#include <boost/test/auto_unit_test.hpp> #include <boost/test/auto_unit_test.hpp>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
struct my_type_from_default_namespace {};
namespace namespace
{ {
template< typename T > template< typename T >
@ -21,6 +19,8 @@ namespace
} }
} }
struct my_type_from_default_namespace {};
BOOST_AUTO_TEST_CASE( name_of_type_from_default_namespace_is_extracted ) BOOST_AUTO_TEST_CASE( name_of_type_from_default_namespace_is_extracted )
{ {
BOOST_CHECK_EQUAL( "my_type_from_default_namespace", to_string( my_type_from_default_namespace() ) ); BOOST_CHECK_EQUAL( "my_type_from_default_namespace", to_string( my_type_from_default_namespace() ) );