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