aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/aliasWritesOverrideBindings.qml
blob: 441098bd396331cfb7d9cc02e9752066ce1edb9a (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

Item {
    id: me
    property bool test: false

    property int value: 9

    AliasBindingsOverrideTargetType {
        id: aliasType
        aliasProperty: 11
    }

    Component.onCompleted: {
        if (aliasType.aliasProperty != 11) return;

        aliasType.data = 8;
        if (aliasType.aliasProperty != 11) return;

        test = true;
    }
}