Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / propertyVar.12.qml
1 import QtQuick 2.0
2
3 Item {
4     property bool test: false
5     property var nullOne: null
6     property var nullTwo
7     property var undefOne: undefined
8     property var undefTwo
9
10     Component.onCompleted: {
11         nullTwo = null;
12         undefTwo = undefined;
13         if (nullOne != null) return;
14         if (nullOne != nullTwo) return;
15         if (undefOne != undefined) return;
16         if (undefOne != undefTwo) return;
17         test = true;
18     }
19 }