]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/assert/test/current_function_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / assert / test / current_function_test.cpp
index 13439011f90519dd7af963a67b9c39d6594db39f..c664696fdf0f124d94373a9977abbf253561ec6d 100644 (file)
@@ -27,14 +27,13 @@ void message(char const * file, long line, char const * func, char const * msg)
     using std::printf;
 #endif
 
-    printf("%s(%ld): %s in function '%s'\n", file, line, msg, func);
+    printf("%s(%ld): in function '%s': %s\n", file, line, func, msg);
 }
 
 #define MESSAGE(msg) message(__FILE__, __LINE__, BOOST_CURRENT_FUNCTION, msg)
 
 int main()
 {
-    MESSAGE("assertion failed");
-
+    MESSAGE("testing BOOST_CURRENT_FUNCTION");
     return 0;
 }