Skip to content

Commit 7de9278

Browse files
Add test in qt.cpp
1 parent 6e38ddf commit 7de9278

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/cfg/qt.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,13 @@ int qdateIsValid()
894894
return qd.month();
895895
}
896896

897+
void qAssertX()
898+
{
899+
const char *where = "test";
900+
const char *what = "assertion failed";
901+
Q_ASSERT_X(false, where, what);
902+
}
903+
897904
struct S_QTimer_connect : QObject { // #13846
898905
S_QTimer_connect() {
899906
// cppcheck-suppress checkLibraryFunction - timeout() is a signal from QTimer

0 commit comments

Comments
 (0)