X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Ffunction%2Ftest%2Ffunction_test_fail1.cpp;h=0b84cc7dcf62aee14aaf62962fe63e65e25507f0;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=99c599ca7cb996db4a150b607f53978f9ea88020;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/function/test/function_test_fail1.cpp b/ceph/src/boost/libs/function/test/function_test_fail1.cpp index 99c599ca7..0b84cc7dc 100644 --- a/ceph/src/boost/libs/function/test/function_test_fail1.cpp +++ b/ceph/src/boost/libs/function/test/function_test_fail1.cpp @@ -7,22 +7,12 @@ // For more information, see http://www.boost.org -#include #include -using namespace std; -using namespace boost; - -int -test_main(int, char*[]) +void test() { - function0 f1; - function0 f2; - - if (f1 == f2) { - } - - BOOST_ERROR("This should not have compiled."); + boost::function0 f1; + boost::function0 f2; - return 0; + if( f1 == f2 ) {} }