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

Item {
    visible: false

    property int test: 1

    Component {
        id: comp
        Item {
            width: { width = test * 100 }
        }
    }

    Loader {
        sourceComponent: comp
        width: 100
    }
}