summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/canAssignNullToQObject.1.qml
blob: 3fd9131b2f3237df873d37451b8f50bff98445c2 (plain)
1
2
3
4
5
6
7
8
9
import Qt.test 1.0

MyQmlObject {
    property bool runTest: false

    property variant a: MyQmlObject {}

    objectProperty: (runTest == false)?a:null
}