// For more information, see http://www.boost.org
+#include <boost/function.hpp>
+#include <boost/move/move.hpp>
+#include <boost/core/lightweight_test.hpp>
#include <iostream>
#include <cstdlib>
-#include <boost/test/minimal.hpp>
-#include <boost/function.hpp>
-#include <boost/move/move.hpp>
+#define BOOST_CHECK BOOST_TEST
class only_movable {
private:
std::string&& four(std::string&& s) { return boost::move(s); }
#endif
-int test_main(int, char*[])
+int main()
{
using boost::function;
BOOST_CHECK(f4(std::string("world")) == "world");
#endif
- return 0;
+ return boost::report_errors();
}