aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/text.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/text.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/text.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/text.qml b/tests/auto/qml/qmlcppcodegen/data/text.qml
new file mode 100644
index 0000000000..5a30c7e3f4
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/text.qml
@@ -0,0 +1,20 @@
+import TestTypes
+import QtQml
+
+QtObject {
+ id: parent
+ property int a: 16
+ property date dayz: BirthdayParty.rsvp
+ property QtObject o: QtObject {
+ property date width: parent.dayz
+ }
+
+ property date oParty: o.BirthdayParty.rsvp
+
+ property BirthdayParty party: BirthdayParty {
+ eee: parent.a + 5
+ property int fff: eee + 12
+ }
+
+ property int ggg: party.eee + a
+}