custom_obsolete_init.run-fail.cpp 561 B

12345678910111213141516171819202122
  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. // See http://www.boost.org/libs/test for the library home page.
  6. //[example_code
  7. #include <boost/test/included/unit_test.hpp>
  8. #include <iostream>
  9. BOOST_AUTO_TEST_CASE(test1)
  10. {
  11. BOOST_TEST(false);
  12. }
  13. boost::unit_test::test_suite* init_unit_test_suite(int /*argc*/, char* /*argv*/[])
  14. {
  15. std::cout << "using obsolete init" << std::endl;
  16. return 0;
  17. }
  18. //]