aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/attachedPropNotReused.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/attachedPropNotReused.qml')
-rw-r--r--tests/auto/qml/qmllint/data/attachedPropNotReused.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/attachedPropNotReused.qml b/tests/auto/qml/qmllint/data/attachedPropNotReused.qml
new file mode 100644
index 0000000000..456ccd3d7d
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/attachedPropNotReused.qml
@@ -0,0 +1,8 @@
+import QtQuick
+
+Text {
+ text: KeyNavigation.priority == KeyNavigation.BeforeItem ? "before" : "after"
+ Text {
+ text: KeyNavigation.priority == KeyNavigation.BeforeItem ? "before" : "after"
+ }
+}