blob: 3c593cec7dfec90f788f2f318821797becd93b47 [file] [log] [blame]
/*-----------------------------------------------------------------------------+
Copyright (c) 2011-2011: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
+-----------------------------------------------------------------------------*/
#define BOOST_TEST_MODULE icl::cmp_clang_ttp_passing2 unit test
#include "../unit_test_unwarned.hpp"
#include <boost/icl/interval_set.hpp>
template
<
template
<
class _T,
template<class>class Compare = std::less,
class Interval = typename boost::icl::
interval_type_default<_T,Compare>::type,
template<class>class Alloc = std::allocator
>
class IntervalSet,
class T
>
bool test_ttp()
{
typedef IntervalSet<T> IntervalSetT;
IntervalSetT test_set;
test_set.clear();
return true;
}
BOOST_AUTO_TEST_CASE(dummy)
{
bool result = test_ttp<boost::icl::interval_set, int>();
BOOST_CHECK( result );
}