diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 7ebd54d76ba..5289fad0c7f 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -611,3 +611,10 @@ void dontCrashEstimateSize(const SEstimateSize& s) { QString q = s.get(); if (!q.isNull()) {} } + +bool knownConditionTrueFalse_QString_count(const QString& s) // #11036 +{ + if (!s.isEmpty() && s.count("abc") == 0) + return false; + return true; +}