diff options
Diffstat (limited to 'tests/auto/qmldom/domdata/domitem/nullStatements.qml')
-rw-r--r-- | tests/auto/qmldom/domdata/domitem/nullStatements.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qmldom/domdata/domitem/nullStatements.qml b/tests/auto/qmldom/domdata/domitem/nullStatements.qml new file mode 100644 index 0000000000..f4be9b30de --- /dev/null +++ b/tests/auto/qmldom/domdata/domitem/nullStatements.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick + +Item { + function testForNull() { + for (;;) + {} + for (;;) + x + {} {} {} {} + } +} |