From 59f532cc689623e555ae640382cf6e9d0f54f32a Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 9 Oct 2007 07:19:30 +0000 Subject: [PATCH] Output some info about a test failure when hashing function pointers. [SVN r39833] --- test/hash_function_pointer_test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/hash_function_pointer_test.cpp b/test/hash_function_pointer_test.cpp index db59e2b..d9d9c51 100644 --- a/test/hash_function_pointer_test.cpp +++ b/test/hash_function_pointer_test.cpp @@ -43,6 +43,14 @@ void function_pointer_tests() BOOST_TEST(hasher_void(0) == hasher_void(0)); BOOST_TEST(hasher_void(&void_func1) == hasher_void(&void_func1)); BOOST_TEST(hasher_void(&void_func1) != hasher_void(&void_func2)); + if(hasher_void(&void_func1) == hasher_void(&void_func2)) { + std::cerr<