diff --git a/tests/tests_Sanity.cpp b/tests/tests_Sanity.cpp index 4557a5c..7c40f76 100644 --- a/tests/tests_Sanity.cpp +++ b/tests/tests_Sanity.cpp @@ -6,6 +6,10 @@ #include #include +extern "C" void metall_log(metall_log_level lvl, char const *file, size_t line, char const *msg) { + std::cerr << lvl << " " << file << ":" << line << ": " << msg << std::endl; +} + TEST_SUITE("metall-ffi") { TEST_CASE("sanity check") { char const *obj_name = "obj";