diff options
-rw-r--r-- | tests/clang-format-test/clang-format.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/clang-format-test/clang-format.cpp b/tests/clang-format-test/clang-format.cpp index 77af2b286..3d952f11c 100644 --- a/tests/clang-format-test/clang-format.cpp +++ b/tests/clang-format-test/clang-format.cpp @@ -37,8 +37,11 @@ static int aGlobalInt = 3; // qtcassert.h: namespace Utils { -QTCREATOR_UTILS_EXPORT void writeAssertLocation(const char *msg); +void writeAssertLocation(const char *msg) +{ + std::printf("%s", msg); } +} // namespace Utils #define QTC_ASSERT_STRINGIFY_HELPER(x) #x #define QTC_ASSERT_STRINGIFY(x) QTC_ASSERT_STRINGIFY_HELPER(x) |