aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/propertyVar.3.qml
blob: cf6a6516397551218291cd160b78c30760b9f405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import QtQuick 2.0

Item {
    id: root
    property bool test: false

    property var jsint: 4
    property int bound: jsint + 5

    Component.onCompleted: {
        if (bound != 9) return;

        jsint = jsint + 1;

        if (bound != 10) return;

        test = true;
    }
}