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