diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefined.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefined.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefined.qml b/tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefined.qml new file mode 100644 index 0000000000..757a544b58 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefined.qml @@ -0,0 +1,6 @@ +import Qt.test 1.0 +ClassWithQProperty { + property int anotherValue: 1 + property bool toggle: false + value: toggle ? undefined : anotherValue +} |