Remove remaining uses of Boost.Test

This commit is contained in:
Peter Dimov
2018-11-13 19:43:12 +02:00
parent 3bc2478a95
commit bfb0e4701e
7 changed files with 33 additions and 43 deletions

View File

@ -7,21 +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;
static int bad_fn(float f) { return static_cast<int>(f); }
int
test_main(int, char*[])
void test()
{
function0<int> f1;
f1 = bad_fn;
BOOST_ERROR("This should not have compiled.");
return 0;
boost::function0<int> f1;
f1 = bad_fn;
}