aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/inlineComponentWithComponents.qml
blob: 431d3ee0761766453a5d9b95f8cd578758fa6a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
import QtQuick 2.0

Item {
    component IC : Text {
        text: "Hello world!"
        MouseArea {} // Previously this would overwrite the IC
    }

    property IC ic: IC {}
    property string icText: ic.text // Check that we can access a property not contained in the component that would overwrite
}