]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/metaparse/test/returns.cpp
1 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
6 #include <boost/metaparse/v1/impl/returns.hpp>
8 #include <boost/mpl/assert.hpp>
10 #include <boost/type_traits.hpp>
12 #include "test_case.hpp"
14 BOOST_METAPARSE_TEST_CASE(returns
)
16 using boost::metaparse::v1::impl::returns
;
20 // test_returns_evaluates_to_its_argument
21 BOOST_MPL_ASSERT((is_same
<int, returns
<int>::type
>));