]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/any/test/basic_any_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / any / test / basic_any_test.cpp
CommitLineData
1e59de90
TL
1// Copyright Kevlin Henney, 2000, 2001. All rights reserved.
2// Copyright Antony Polukhin, 2013-2022.
3// Copyright Ruslan Arutyunyan, 2019-2021.
4//
5// Distributed under the Boost Software License, Version 1.0. (See
6// accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8
9#include "boost/any/basic_any.hpp"
10#include "basic_test.hpp"
11
12int main() {
13 const int res1 = any_tests::basic_tests<boost::anys::basic_any<> >::run_tests();
14 if (res1) return 1;
15
16 const int res2 = any_tests::basic_tests<boost::anys::basic_any<256, 8> >::run_tests();
17 if (res2) return 2;
18
19 const int res3 = any_tests::basic_tests<boost::anys::basic_any<1, 1> >::run_tests();
20 if (res3) return 3;
21
22 const int res4 = any_tests::basic_tests<boost::anys::basic_any<64, 8> >::run_tests();
23 if (res4) return 4;
24}