]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/type_index/test/track_13621.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / type_index / test / track_13621.cpp
1 //
2 // Copyright 2018-2020 Antony Polukhin.
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7
8 #include <boost/type_index/ctti_type_index.hpp>
9 #include <string>
10
11 #include <boost/core/lightweight_test.hpp>
12
13 class empty
14 {
15 };
16
17 int main()
18 {
19 std::string name = boost::typeindex::ctti_type_index::type_id<empty>().pretty_name();
20 BOOST_TEST(name.find("empty") != std::string::npos);
21 return boost::report_errors();
22 }
23