aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/PropertyVarCircularComponent.qml
blob: 36c025401fa027484591cec60a4743d165f80d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import QtQuick 2.0
import Qt.test 1.0

Item {
    id: first
    property var vp: Item {
        id: second
        property var vp: Item {
            id: third
            property var vp: Item {
                id: fourth
                property var vp: Item {
                    id: fifth
                    property int fifthCanary: 5
                    property var circ: third.vp
                    property MyScarceResourceObject srp;
                    srp: MyScarceResourceObject { id: scarceResourceProvider }
                    property variant memoryHog: scarceResourceProvider.newScarceResource()
                }
            }
        }
    }
}