]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
b32b8144 1// Copyright Louis Dionne 2013-2017
7c673cae
FG
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>
6namespace hana = boost::hana;
7
8
9int 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}