]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/function/test/function_test_fail1.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / function / test / function_test_fail1.cpp
index 99c599ca7cb996db4a150b607f53978f9ea88020..0b84cc7dcf62aee14aaf62962fe63e65e25507f0 100644 (file)
@@ -7,22 +7,12 @@
 
 // For more information, see http://www.boost.org
 
-#include <boost/test/minimal.hpp>
 #include <boost/function.hpp>
 
-using namespace std;
-using namespace boost;
-
-int
-test_main(int, char*[])
+void test()
 {
-  function0<int> f1;
-  function0<int> f2;
-
-  if (f1 == f2) {
-  }
-
-  BOOST_ERROR("This should not have compiled.");
+    boost::function0<int> f1;
+    boost::function0<int> f2;
 
-  return 0;
+    if( f1 == f2 ) {}
 }