]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/metaparse/test/returns.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / 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)
5
6 #include <boost/metaparse/v1/impl/returns.hpp>
7
8 #include <boost/mpl/assert.hpp>
9
10 #include <boost/type_traits.hpp>
11
12 #include "test_case.hpp"
13
14 BOOST_METAPARSE_TEST_CASE(returns)
15 {
16 using boost::metaparse::v1::impl::returns;
17
18 using boost::is_same;
19
20 // test_returns_evaluates_to_its_argument
21 BOOST_MPL_ASSERT((is_same<int, returns<int>::type>));
22 }
23