diff --git a/cfg/qt.cfg b/cfg/qt.cfg index 5371e598568..66f6e78b3b6 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -2428,6 +2428,7 @@ false + @@ -2440,6 +2441,7 @@ false + diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 70e6ac0310a..4ff0a476959 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -76,6 +76,11 @@ void ignoredReturnValue_QDir(const QString& dirname) dir.entryList(); } +void assertWithSideEffect_QDir_exists(const char *path) { // #14720 + QDir dir(path); + assert(dir.exists()); + (void)dir; +} void unusedVariable_QTransform() {