aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/initReadonly.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/initReadonly.qml')
-rw-r--r--tests/auto/qml/qmllint/data/initReadonly.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/initReadonly.qml b/tests/auto/qml/qmllint/data/initReadonly.qml
new file mode 100644
index 0000000000..a9a2a0016b
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/initReadonly.qml
@@ -0,0 +1,6 @@
+import QtQml
+
+QtObject {
+ readonly property int i: 14
+ readonly property int j: i + 20
+}