]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/doc/examples/custom_obsolete_init.run-fail.cpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / test / doc / examples / custom_obsolete_init.run-fail.cpp
1 // (C) Copyright Andrzej Krzemienski 2015.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5
6 // See http://www.boost.org/libs/test for the library home page.
7
8 //[example_code
9 #include <boost/test/included/unit_test.hpp>
10 #include <iostream>
11
12 BOOST_AUTO_TEST_CASE(test1)
13 {
14 BOOST_TEST(false);
15 }
16
17 boost::unit_test::test_suite* init_unit_test_suite(int /*argc*/, char* /*argv*/[])
18 {
19 std::cout << "using obsolete init" << std::endl;
20 return 0;
21 }
22 //]