Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame^] | 1 | // Boost.Function library |
| 2 | |
| 3 | // Copyright (C) Douglas Gregor 2001-2005. Use, modification and |
| 4 | // distribution is subject to the Boost Software License, Version |
| 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
| 6 | // http://www.boost.org/LICENSE_1_0.txt) |
| 7 | |
| 8 | // For more information, see http://www.boost.org |
| 9 | |
| 10 | #include <boost/test/minimal.hpp> |
| 11 | #include <boost/function.hpp> |
| 12 | |
| 13 | using namespace std; |
| 14 | using namespace ndnboost; |
| 15 | |
| 16 | int |
| 17 | test_main(int, char*[]) |
| 18 | { |
| 19 | function0<int> f1; |
| 20 | function0<int> f2; |
| 21 | |
| 22 | if (f1 == f2) { |
| 23 | } |
| 24 | |
| 25 | BOOST_ERROR("This should not have compiled."); |
| 26 | |
| 27 | return 0; |
| 28 | } |