summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/variantsAssignedUndefined.qml
blob: 46e18e5b31ab1858a86a0eba0f25874431882514 (plain)
1
2
3
4
5
6
7
8
9
import Qt 4.7

QtObject {
    property bool runTest: false
    onRunTestChanged: test1 = undefined

    property variant test1: 10
    property variant test2: (runTest == false)?11:undefined
}