aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmlls/utils/data/completions/afterDots.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmlls/utils/data/completions/afterDots.qml')
-rw-r--r--tests/auto/qmlls/utils/data/completions/afterDots.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qmlls/utils/data/completions/afterDots.qml b/tests/auto/qmlls/utils/data/completions/afterDots.qml
new file mode 100644
index 0000000000..0659425195
--- /dev/null
+++ b/tests/auto/qmlls/utils/data/completions/afterDots.qml
@@ -0,0 +1,20 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+import QtQuick
+
+QtObject {
+ id: root
+ property int good
+ property var i: Item {
+ property int bad
+ property int myP: root.
+ Item { }
+ property int myP2: root.;
+ bad: 43
+ function f() {
+ root.;
+ for (;;) {}
+ }
+ }
+}