diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/parentIsComponent.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/parentIsComponent.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/parentIsComponent.qml b/tests/auto/qml/qmllint/data/parentIsComponent.qml new file mode 100644 index 0000000000..a74bf9e4e8 --- /dev/null +++ b/tests/auto/qml/qmllint/data/parentIsComponent.qml @@ -0,0 +1,13 @@ +import QtQuick 2.0 + +Item { + Component { + id: foo + Item { + property real yyy: parent.progress + Component.onCompleted: console.log(yyy) + } + } + + property var stuff: foo.createObject() +} |