diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/extendedObjectPropertyLookup.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/extendedObjectPropertyLookup.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/extendedObjectPropertyLookup.qml b/tests/auto/declarative/qdeclarativeecmascript/data/extendedObjectPropertyLookup.qml new file mode 100644 index 0000000..9a82ad1 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeecmascript/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) +} |