1 // Copyright Louis Dionne 2013-2017
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
5 #include <boost/hana/assert.hpp>
6 #include <boost/hana/integral_constant.hpp>
7 #include <boost/hana/map.hpp>
8 #include <boost/hana/pair.hpp>
9 #include <boost/hana/type.hpp>
12 namespace hana = boost::hana;
13 using namespace std::literals;
17 BOOST_HANA_RUNTIME_CHECK(
19 hana::make_pair(hana::char_c<'a'>, "foobar"s),
20 hana::make_pair(hana::type_c<int&&>, nullptr)
24 hana::make_pair(hana::type_c<int&&>, (void*)0),
25 hana::make_pair(hana::char_c<'a'>, "foobar"s)