Skip to content

Commit 2bfd469

Browse files
Add test for #11036 (#6000)
1 parent 49ce02f commit 2bfd469

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/cfg/qt.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,3 +611,10 @@ void dontCrashEstimateSize(const SEstimateSize& s) {
611611
QString q = s.get();
612612
if (!q.isNull()) {}
613613
}
614+
615+
bool knownConditionTrueFalse_QString_count(const QString& s) // #11036
616+
{
617+
if (!s.isEmpty() && s.count("abc") == 0)
618+
return false;
619+
return true;
620+
}

0 commit comments

Comments
 (0)