ticket_5556_is_sorted_namespace.cpp 920 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Boost.Range library
  2. //
  3. // Copyright Neil Groves 2011. Use, modification and
  4. // distribution is subject to the Boost Software License, Version
  5. // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. //
  9. // For more information, see http://www.boost.org/libs/range/
  10. //
  11. // Embarrasingly, the mere inclusion of these headers in this order was
  12. // enough to trigger the defect.
  13. #include <boost/range/algorithm.hpp>
  14. #include <boost/range/algorithm_ext.hpp>
  15. #include <boost/test/test_tools.hpp>
  16. #include <boost/test/unit_test.hpp>
  17. namespace boost
  18. {
  19. namespace
  20. {
  21. void test_ticket_5556() {}
  22. }
  23. }
  24. boost::unit_test::test_suite*
  25. init_unit_test_suite(int argc, char* argv[])
  26. {
  27. boost::unit_test::test_suite* test
  28. = BOOST_TEST_SUITE( "RangeTestSuite.ticket_5556" );
  29. test->add( BOOST_TEST_CASE( &boost::test_ticket_5556 ) );
  30. return test;
  31. }