summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/variantsAssignedUndefined.qml
blob: 849dfadd4f41b832a1c8dc2b92dad9adb14fa92c (plain)
1
2
3
4
5
6
7
8
9
import QtQuick 1.0

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

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