]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/core/is_a.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / core / is_a.cpp
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)
4
5 #include <boost/hana/core/is_a.hpp>
6 namespace hana = boost::hana;
7
8
9 int main() {
10 // This used to trigger a compilation error on Clang 3.5.
11 {
12 auto f = [](auto i) {
13 constexpr auto result = hana::is_an<int>(i);
14 (void)result;
15 };
16 f(1);
17 }
18 }