/Src/Dependencies/Boost/libs/range/test/ticket_5556_is_sorted_namespace.cpp

http://hadesmem.googlecode.com/ · C++ · 37 lines · 19 code · 6 blank · 12 comment · 0 complexity · 03d51969e8fcf36779ecd51c36aa0626 MD5 · raw file

  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. }