Skip to content

Commit

Permalink
Add test for #11036 (#6000)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github authored Feb 19, 2024
1 parent 49ce02f commit 2bfd469
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/cfg/qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 2bfd469

Please sign in to comment.