aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/nonSpuriousParentWarning.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/nonSpuriousParentWarning.qml')
-rw-r--r--tests/auto/qml/qmllint/data/nonSpuriousParentWarning.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/nonSpuriousParentWarning.qml b/tests/auto/qml/qmllint/data/nonSpuriousParentWarning.qml
new file mode 100644
index 0000000000..a59b736929
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/nonSpuriousParentWarning.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.12
+import QtQml 2.12
+
+Item {
+ QtObject {
+ property int x: parent.x
+ }
+}