2 // Copyright Daniel James 2005-2006. Use, modification, and distribution are
3 // subject to the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #define HASH_NAMESPACE boost
7 #define BOOST_HASH_NO_EXTENSIONS
8 #include <boost/functional/hash.hpp>
9 #include <boost/detail/lightweight_test.hpp>
11 extern int f(std::size_t, int*);
14 HASH_NAMESPACE::hash
<int*> ptr_hasher
;
16 BOOST_TEST(!f(ptr_hasher(&x
), &x
));
17 return boost::report_errors();