From c1e9f0adacb7e20c15ea944dd7e6c0bd42f346e0 Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Mon, 12 Aug 2024 18:25:43 +0200 Subject: [PATCH] Update qt.cpp --- test/cfg/qt.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 2c0e836f7f3..ce68cbf5e5f 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -323,6 +323,13 @@ QList::iterator QList3() return it; } +void QList4() // #13001 +{ + QList ql; + ql.append(QList>()); + if (ql.isEmpty()) {} +} + void QLinkedList1() { // cppcheck-suppress unreadVariable