| 1 | // Copyright Louis Dionne 2013-2022 |
|---|---|
| 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) |
| 4 | |
| 5 | #include <boost/hana/assert.hpp> |
| 6 | #include <boost/hana/equal.hpp> |
| 7 | #include <boost/hana/ext/std/tuple.hpp> |
| 8 | #include <boost/hana/lift.hpp> |
| 9 | |
| 10 | #include <tuple> |
| 11 | namespace hana = boost::hana; |
| 12 | |
| 13 | |
| 14 | int main() { |
| 15 | // Make sure we workaround the bug at: |
| 16 | // http://llvm.org/bugs/show_bug.cgi?id=19616 |
| 17 | BOOST_HANA_CONSTEXPR_CHECK(hana::equal( |
| 18 | hana::lift<hana::ext::std::tuple_tag>(std::make_tuple(1)), |
| 19 | std::make_tuple(std::make_tuple(1)) |
| 20 | )); |
| 21 | } |
| 22 |
