]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright Louis Dionne 2013-2016 |
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 | } |