24 lines
575 B
C++
24 lines
575 B
C++
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <boost/metaparse/v1/impl/returns.hpp>
|
|
|
|
#include <boost/mpl/assert.hpp>
|
|
|
|
#include <boost/type_traits.hpp>
|
|
|
|
#include "test_case.hpp"
|
|
|
|
BOOST_METAPARSE_TEST_CASE(returns)
|
|
{
|
|
using boost::metaparse::v1::impl::returns;
|
|
|
|
using boost::is_same;
|
|
|
|
// test_returns_evaluates_to_its_argument
|
|
BOOST_MPL_ASSERT((is_same<int, returns<int>::type>));
|
|
}
|
|
|