// 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 ) {}
}