summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlecmascript/data/undefinedResetsProperty.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlecmascript/data/undefinedResetsProperty.qml')
-rw-r--r--tests/auto/declarative/qmlecmascript/data/undefinedResetsProperty.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/undefinedResetsProperty.qml b/tests/auto/declarative/qmlecmascript/data/undefinedResetsProperty.qml
new file mode 100644
index 0000000..eceff60
--- /dev/null
+++ b/tests/auto/declarative/qmlecmascript/data/undefinedResetsProperty.qml
@@ -0,0 +1,7 @@
+import Qt.test 1.0
+
+MyQmlObject {
+ property bool setUndefined: false
+
+ resettableProperty: setUndefined?undefined:92
+}