aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/objectConversion.qml
blob: 67fc342db3793328a38f8ec9302a873ee70209c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 2.0

Rectangle {
    width: 360
    height: 360

    function circularObject() {
        var a = {}
        var b = {}

        a.test = 100;
        a.c = b;
        b.c = a;
        return a;
    }
}