aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/idAccess.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/idAccess.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/idAccess.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/idAccess.qml b/tests/auto/qml/qmlcppcodegen/data/idAccess.qml
new file mode 100644
index 0000000000..2090926872
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/idAccess.qml
@@ -0,0 +1,15 @@
+import QtQuick
+
+Item {
+ id: root
+ y: z
+ onXChanged: {
+ root.y = 48
+ ttt.font.pointSize = 22
+ }
+ z: 12
+
+ Text {
+ id: ttt
+ }
+}