summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-14 23:08:01 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-14 23:08:01 (GMT)
commit2d23e45c94b6115db2b1efadfe77841f481545ca (patch)
tree0e6ff89dbcc410dd2ef5b0e873473971f3dd1b07 /tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml
parent65e0628bd0cdcb43226dad05582a97a6ef218124 (diff)
parent42dda19d82ceea48f19d356cfaf2b26acb763df8 (diff)
downloadQt-2d23e45c94b6115db2b1efadfe77841f481545ca.zip
Qt-2d23e45c94b6115db2b1efadfe77841f481545ca.tar.gz
Qt-2d23e45c94b6115db2b1efadfe77841f481545ca.tar.bz2
Merge remote branch 'origin/master' into bearermanagement/integration
Conflicts: tests/auto/qlineedit/tst_qlineedit.cpp
Diffstat (limited to 'tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml')
-rw-r--r--tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml b/tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml
new file mode 100644
index 0000000..9a82ad1
--- /dev/null
+++ b/tests/auto/declarative/qmlecmascript/data/extendedObjectPropertyLookup.qml
@@ -0,0 +1,8 @@
+import Qt.test 1.0
+import Qt 4.6
+
+QtObject {
+ property MyExtendedObject a;
+ a: MyExtendedObject { id: root }
+ property int b: Math.max(root.extendedProperty, 0)
+}